Title: rgbGen constlightingDiffuse Post by: fromhell on June 01, 2010, 09:50:41 PM One of the problems of using rgbGen const in the shaders is that it's never lit by anything. Multiplying lightingDiffuse to the const value could get around that.
I don't know why I even post this, but it sounds like an okay shader command idea to me. Could this have problem with overbrights? Maybe it could be called 'rgbGen2' and allows the engine to 'combine' a second rgbGen effect over the former Title: Re: rgbGen constlightingDiffuse Post by: andrewj on June 02, 2010, 04:15:57 AM I think a new 'rgbMod' shader command would be good. Similar to how tcMod applies an effect to texture coordinates, this command would apply an effect to the RGB values.
Code: { Would not affect or allow overbrighting, that is done by messing with the video card's gamma tables. |