just got done that big job. spent like 5 minutes to fix the borkage. there is still some more stuff to do, but it's playable. sorta. well allot more then it was before i got busy.
but here's an example of what can be done on models now. for some this might seem kinda familiar.
only model i tested was the depot and sentry. gotta do the rest.
players/drfreak/drfreak
{
// this is an optimal way (1-3 passes, depending on the video card)
if textureEnvDot3
{
normalmap $heightmap 1 players/drfreak/drfreak_bump players/drfreak/drfreak
}
{
map players/drfreak/drfreak_gloss
blendFunc GL_DST_COLOR GL_SRC_ALPHA
rgbGen identity
alphaGen lightingSpecular
}
endif
// fallback path
if ! textureEnvDot3
{
map players/drfreak/drfreak
rgbgen lightingDiffuse
}
endif
}
|
_
|