[Gtkradiant] [Bug 628] New: q3map_alphaGen bits

gtkradiant@zerowing.idsoftware.com gtkradiant@zerowing.idsoftware.com
Wed, 16 Oct 2002 11:34:34 -0500


http://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=628

           Summary: q3map_alphaGen bits
           Product: GtkRadiant
           Version: 1.3
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: q3map2
        AssignedTo: ydnar@shaderlab.com
        ReportedBy: rr2do2@q3f.com


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

q3map alphaMod