[Gtkradiant] [Bug 628] New: q3map_alphaGen bits
Wed, 16 Oct 2002 11:34:34 -0500
Summary: q3map_alphaGen bits
just an idea to get for example cheap texture usage snowy rocks that don't look
all the same. At compile time, use an alpha texture or so to bake alpha in the
vertices. Then the shader you use is two stage, bottom stage is the rock, top
is the snow that uses the alpha.
or do a dot product of the normal against some other vector, say up vector?
q3map_alphaGen dotProduct ( 0 0 1 )
and randomize it slightly so the snow looks different on different versions of
the same rock