Ybalrid / Annwvyn

Annwvyn C++ Open Source designed-for-VR game engine and application developement framework
MIT License
41 stars 7 forks source link

[OGRE21] Unlit materials #89

Closed Ybalrid closed 7 years ago

Ybalrid commented 7 years ago

Some objects, lithe the on screen console, were creating a material without lighting. Ogre 2.1 has an HLMS unlit material that should be used instead.

Ybalrid commented 7 years ago

We need #86 to work before this can be relevant.

Ybalrid commented 7 years ago

So, unlit, in the context of the HDR pipeline, need a serious "bump" in the color values : In fact, you need to convert color values to "light values" as the tone mapping stage will not understand the [0; 1] range of the "normal" colors!

Ybalrid commented 7 years ago

So, the mistery is sorted out, and it works, it's implemented in the Annconsole and the Console.material script