Giter Site home page Giter Site logo

Lighting setup guide about lightmapper HOT 4 CLOSED

ands avatar ands commented on June 16, 2024
Lighting setup guide

from lightmapper.

Comments (4)

ands avatar ands commented on June 16, 2024 3

Apparently you are on the development branch which injects some blue emissive lighting into the initially black texture for testing purposes.
If you want, you can do the same.
Just render your objects with some colored (emissive) parts by painting into the textures that you render your objects with.
You can also render light source meshes with emissive surfaces (just color them; e.G. a yellowish sphere that is placed relatively far away to emulate the sun).
You can also set the clear color which would be like light coming from all directions.
Using a skybox to light your scene is also a possibility (just render a skybox like in a regular game scene).

Most of this you would have to implement yourself into the example application, or, if you already have your own OpenGL renderer, you can integrate this library into your project and just render your scene as always to compute indirect lighting bounces.

Hope this helps :)
(There is no guide or quick introduction other then the example, sorry. I might make a more useful application to show off what can be done at some point though).

from lightmapper.

rasteron avatar rasteron commented on June 16, 2024

Hey @ands thanks and no worries! 😄 Noted on the development branch setup and I'll just do more tests.

Keep it up, this is awesome! 👍

from lightmapper.

ands avatar ands commented on June 16, 2024

Have fun ;) (what did you note on the development branch setup?)

from lightmapper.

rasteron avatar rasteron commented on June 16, 2024

Ah yes, just this part that you mentioned 😄

Apparently you are on the development branch which injects some blue emissive lighting into the initially black texture for testing purposes. If you want, you can do the same.

thanks.

from lightmapper.

Related Issues (20)

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.