Lightgrid-lit Doors?

Discussion for Level editing, modeling, programming, or any of the other technical aspects of Quake
Post Reply
megatog615
Posts: 13
Joined: Fri Nov 16, 2007 12:30 am

Lightgrid-lit Doors?

Post 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.
obsidian
Posts: 10970
Joined: Mon Feb 04, 2002 8:00 am

Re: Lightgrid-lit Doors?

Post by obsidian »

lightingDiffuse is designed to work with player and weapon models with the lightgrid for vertex illumination. So, no.
[size=85][url=http://gtkradiant.com]GtkRadiant[/url] | [url=http://q3map2.robotrenegade.com]Q3Map2[/url] | [url=http://q3map2.robotrenegade.com/docs/shader_manual/]Shader Manual[/url][/size]
ydnar
Posts: 36
Joined: Fri Dec 15, 2000 8:00 am

Re: Lightgrid-lit Doors?

Post 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.
megatog615
Posts: 13
Joined: Fri Nov 16, 2007 12:30 am

Re: Lightgrid-lit Doors?

Post by megatog615 »

Well, are you talking about the code in ET or something actually possible with shaders/map techniques?
Post Reply