[Gtkradiant] [Bug 662] Model module based on picomodel

gtkradiant@zerowing.idsoftware.com gtkradiant@zerowing.idsoftware.com
Tue, 26 Nov 2002 16:06:17 -0600


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

rr2do2@q3f.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #351 is|0                           |1
           obsolete|                            |



------- Additional Comments From rr2do2@q3f.com  2002-11-26 16:06 -------
Created an attachment (id=363)
 --> (http://zerowing.idsoftware.com/bugzilla/attachment.cgi?id=363&action=view)
Newer patch, includes lightglobe additions as well

This adds support for "cull" and "qer_alphafunc" to shader parsing as well.

Cull parsing uses the standard cull from shaders. Qer_alphafunc works like
this:

qer_alphafunc [greater|less|gequal] [0.f<=ref<=1.f]

which is slightly more flexible than the q3 shaders. Reason why it has to be a
qer_ one is is because radiant doesn't do per-stage shader rendering.

Only model module has support for the rendering of both of these right now;
should be relatively easy to move across to the rest of the source for brush
rendering etc.