Git Product home page Git Product logo

limitless-engine's Introduction

me

Limitless Engine is a 3D graphics engine, focused on high-performance, low-overhead rendering with modern OpenGL & C++17.

Linux Build Status Windows Build Status

Core Features

  • OpenGL state caching for reducing driver overhead
  • Multithreaded OpenGL context resource sharing
  • Shader Compiler & Shader Program introspection
  • Indexed buffers automatic binding
  • Textures automatic binding
  • Texture Compression support
  • Time queries
  • Buffer data streaming: Orphaning, Unsynchonized, Persistent, Coherent, TrippleBuffering, Explicit synchronization
  • Extension support:
    • GL_ARB_buffer_storage
    • GL_ARB_direct_state_access
    • GL_ARB_shader_storage_buffer_object
    • GL_ARB_shading_language_420pack
    • GL_ARB_explicit_uniform_location
    • GL_ARB_tessellation_shader
    • GL_ARB_program_interface_query
    • GL_ARB_texture_storage
    • GL_ARB_bindless_texture
    • GL_EXT_texture_filter_anisotropic
    • GL_EXT_texture_compression_s3tc
    • GL_ARB_texture_compression_bptc
    • GL_ARB_texture_compression_rgtc

lighting.mp4
lighting1.mp4

Rendering

  • Forward & Deferred rendering
  • Cook-Torrance microfacet specular BRDF
  • Lambertian diffuse BRDF
  • Roughness-Metallic workflow
  • Translucent materials
  • Normal mapping
  • Ambient occlusion mapping
  • Dynamic directional light, point lights and spot lights
  • Directional Cascade Shadow maps
  • Percentage-Closer Filtering
  • Skybox
  • Screen space ambient occlusion
  • Screen space reflections
  • Screen space refraction
  • Tone mapping
  • Gamma correction
  • HDR Bloom
  • FXAA
  • Deferred Decals
  • Instancing

Material System

  • Lit, unlit shading models
  • Base color (scalar, texture)
  • Metallic (scalar, texture)
  • Roughness (scalar, texture)
  • Refraction
  • Normal
  • Emissive color
  • Emissive mask
  • Blend mask
  • Ambient occlusion
  • Transparency: Translucent, Additive, Modulate
  • Material layering
  • Custom materials via GLSL snippets that allow you to create whatever material you want
  • All properties are run-time changeable

Effect System

  • Sprite, Mesh, Beam emitters
  • Initial, By life modules types
  • Const, Range value distributions
  • Interoperation with material custom properties
  • Modules:
    • Color
    • Location
    • Velocity
    • Acceleration
    • Size
    • Lifetime
    • Mesh location
    • Mesh attachment
    • Rotation
    • Rotation rate
    • Custom material
    • Beam targets, speed, offset, rebuild, displacement

Examples

Build

This project requires C++17 compiler and CMake.

  1. After cloning this Git repo, initialize its Git submodules, which contain 3rd party dependencies and build glew extensions:
git submodule init
git submodule update
cd thirdparty/glew
make extensions
  1. Create a new directory for resulting build and start it:
mkdir build && cd build
cmake ..
make -j12 limitless-materials limitless-effects limitless-lighting

Dependencies

  • glfw3
  • glew
  • OpenGL
  • glm
  • stb_image
  • stb_image_resize
  • freetype

limitless-engine's People

Contributors

hotstreams avatar tehsapper avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

limitless-engine's Issues

Compile issues on macOS

Hi, I found on my macOS (M1 MacBook Pro) compiles will fail like this:

limitless-engine/include/limitless/fx/modules/distribution.hpp:58:22: error: use of undeclared identifier '__aurng'
                     __aurng() * (max.w - min.w) + min.w };
                     ^

limitless-engine/include/limitless/core/indexed_stream.hpp:85:67: error: no member named 'bind2nd' in namespace 'std'
            std::transform(cp.begin(), cp.end(), cp.begin(), std::bind2nd(std::plus(), this->stream.size()));
                                                             ~~~~~^
1 error generated.

/limitless-engine/include/limitless/core/buffer_builder.hpp:27:44: error: no type named 'string_view' in namespace 'std'
        std::shared_ptr<Buffer> build(std::string_view name, ContextState& ctx);
                                      ~~~~~^
1 error generated.

Do u have a clue on this ? seems related about c++ 17, some operands actually no longer available in c++17

Build

Please help,
I wanted to try the app, but I can't build >

[100%] Linking C executable ../../../../bin/glewinfo
/usr/bin/ld: CMakeFiles/glewinfo.dir///src/glewinfo.c.o: in function glewCreateContext': glewinfo.c:(.text+0x32209): undefined reference to glXQueryExtension'

demo build... but not execute

first error
tesselation.tcs: 0:608(38): error: no matching function for call to `getVertexNormal(int)'; candidates are:
0:608(38): error: vec3 getVertexNormal(uint)

if i fix then,

error: Input block `_vertex_data' is not an output of the previous stage

Thanks.

PS: your build same fail > https://github.com/hotstreams/limitless-engine/runs/6991541476?check_suite_focus=true

No Textures

hi
I am glad to meet the project you have done. I really want to run this project, but I encountered some problems. for example,this folder does not exist in the directory
image
image
Looking forward to your reply

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.