Closed rherriman closed 4 years ago
shaders/
util/AvaraGL.cpp
src/bsp/CViewParameters.cpp
(the internalLight
structs)I wasn’t really thinking that the input values were incorrect, just that the directional lights generated from them were incorrect. But I don’t really understand shaders at all!
Interesting point about the rotated block normals... and lends an explanation as to why the ramps are screwed up, too: in Avara, ramps are really just blocks that are scaled and rotated into place. If you fix the issue, I am pretty confident the lighting will look completely correct.
On May 5, 2019, at 5:01 PM, andy notifications@github.com wrote:
Just realized that the above screenshot had ambient turned off, and Grimoire definitely sets a custom one. so here's an updated screenshot:
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
this is probably as close as we're going to get:
From the Avara Level Design Manual:
avara_frag.glsl
should be modified to handle multiple (configurable) directional light sources, and similarly allow the ambient light to be configurable.