Coder Social home page Coder Social logo

morganbengtsson / mos Goto Github PK

View Code? Open in Web Editor NEW
217.0 10.0 15.0 18.67 MB

Lightweight game engine.

License: MIT License

CMake 2.29% C++ 84.98% GLSL 12.74%
c-plus-plus game-development opengl openal glm stb-image 3d-graphics lightweight-game-engine 3d-audio c-plus-plus-11

mos's People

Contributors

morganbengtsson 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

mos's Issues

Multi texturing

It might be convenient to support multi texturing for the albedo texture. Related to #31.

Triangle structure

Might need a triangle structure in the mesh class for triangle sorting etc.

Low frequency AO

Low frequency AO can be approximated by storing depth in the environment cubemap. Try it out and see what happens.

Emission map

Bring back the emission map to conform with the Principled shader.

Models class

A collection class for models, for convenience.

[Feature Request]add SSAO or HBAO

i don't know if it gonna be important or not, the current features mos have right now is already impressive, its small but the rendering is like wow, but i don't see any ambient occlusion (except ao map in the material slot) i know using baked ao is a good idea but i think its gonna be time consuming to bake them one by one. so how about add the real-time one?
i will just leave something here whos know you will be interested :trollface:

Emission color

Emission should be vec3 color to conform with principled shader.

Fix opacity/foliage rendering

Rendering with opaque materials is quite sketchy at the moment. Foliage materials should either discard transparent pixels or use GL_SAMPLE_ALPHA_TO_COVERAGE. Other transparent materials should not.

Remove obj file support

There is no need for obj file support. use the own mesh format together with exporters instead.

Particles DOF problem

The particle rendering does not respond well to the DOF effect. A solution would be to blit the depth buffer to a separate texture before rendering the particles. This depth texture is later used for DOF lookup.

Use modern CMake

Just from your Readme:

target_link_libraries(${PROJECT_NAME} mos)
target_include_directories(${PROJECT_NAME} PUBLIC externals/mos/include)

The 2nd line should not be required if mos had setup its include dirs. Use target_include_directories and PUBLIC/PRIVATE/INTERFACE for all target_* functions. See "Effective CMake" by Daniel Pfeiffer,

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.