
Simply, does exist some program, which can "expand" or "collapse" one particular shader in shaderfile? Example:
Code: Select all
textures/noruen_sbrain/SbGrid
{
surfaceparm trans
surfaceparm alphashadow
cull front
{
map textures/noruen_sbrain/SbGrid.tga
blendFunc GL_ONE GL_ZERO
alphaFunc GE128
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
Code: Select all
textures/noruen_sbrain/SbGrid