[Gtkradiant] problem with shader
Tim Aerdts
fragger123 at gmail.com
Mon Apr 28 15:36:34 CDT 2008
Hi Dirk,
It is the blendFunc lines that control the transparency.
Try removing them, and you do not need a shader to make the surface red, you
can just use a red texture :)
Greetings Fragger
On Mon, Apr 28, 2008 at 6:24 PM, Dirk <noisyb at gmx.net> wrote:
> i want a shader that does just make a red surface
>
> textures/test/red
> {
> {
> 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...
>
>
> _______________________________________________
> Gtkradiant mailing list
> Gtkradiant at zerowing.idsoftware.com
> http://zerowing.idsoftware.com/cgi-bin/mailman/listinfo/gtkradiant
>
--
Xperiment
www.xperimentgame.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://zerowing.idsoftware.com/pipermail/gtkradiant/attachments/20080428/58922e28/attachment.htm
More information about the Gtkradiant
mailing list