Page 1 of 1
Lightgrid-lit Doors?
Posted: Fri Oct 03, 2008 3:52 am
by megatog615
Is it possible to get a door to use rgbGen lightingDiffuse in its shaders to be lightgrid-lit for correct lighting when they open/close? Any time I try rgbGen lightingDiffuse on a world surface it ends up being completely black, or working only sometimes.
Re: Lightgrid-lit Doors?
Posted: Tue Oct 07, 2008 12:13 pm
by obsidian
lightingDiffuse is designed to work with player and weapon models with the lightgrid for vertex illumination. So, no.
Re: Lightgrid-lit Doors?
Posted: Wed Oct 08, 2008 3:19 pm
by ydnar
If I recall correctly, I hacked something into ET that forced brush model entities through the same lightgrid path as other entities so this could be possible. Was possible to use it as a multiplier against the lightmap to get rough dynamic lighting on doors/platforms.
Re: Lightgrid-lit Doors?
Posted: Thu Oct 16, 2008 7:27 pm
by megatog615
Well, are you talking about the code in ET or something actually possible with shaders/map techniques?