Closed hadronized closed 9 years ago
Core.Light
Of course, our core LightType
is about to change to introduce this. We’ll add the constructor Ambient
. On Ambient
lights, shadowing can’t be enabled.
Our current shaders (lighting and shadowing) implements both lighting and shadowing aspects for omnidirectional lights. That is wrong. We need to find a way to change the shader regarding the light type. Better, we need to render all types of a given type all at the same time.
Lighting
Lighting is, at current revision, implemented only in terms of
Omni
lighting. This is an issue because we’ll want several kinds of light be included among:The idea of this change is to refactor the current lighting system to make it more about to include a new kind of light.
Lighting
andShadowing
Those types are going to change to only gather… framebuffers. That’s the only one thing we need to provide.