[Gtkradiant] problem with shader
lordhavoc at ghdigital.com
Tue Apr 29 18:49:31 CDT 2008
> i want a shader that does just make a red surface
> map $whiteimage
> rgbGen const ( 1.0 0.0 0.0 )
> blendFunc add
> map $lightmap
> rgbGen identity
> blendFunc filter
> ...but why is it transparent?
> Can anyone help? or point me to a place where someone can help? I have
> had a look at the Q3A shader manual.. but this is the best I can come up
> with after having read it...
Your first pass has a blendFunc, therefore it is transparent.
Author of DarkPlaces Quake1 engine and mod
"War does not prove who is right, it proves who is left." - Unknown
"Any sufficiently advanced technology is indistinguishable from a rigged demo." - James Klass
More information about the Gtkradiant