PDA

View Full Version : Texture Help...


Emperor Cyros
06-20-2002, 04:41 AM
I am trying to use Borg textures for a personal map and when I go to the game with the level it is all grid. In the console it says lightmap found but no lightmap stage. My question is what is the lightmap stage? And how do I get it?

Xcom
06-20-2002, 08:43 AM
Lightmaps are used to light up your brushes in the level but in this case it's refererring to a lightmap stage in a shader file. So I'd say there is an error in a shader file. :D Since you talking about borg textures, I assume you are getting them from Elite Force, eh? ;) .Well, EF and JK2 have slightly different shader code and that would explain the error.


If you would locate the shader code which is assosiated with current texture and post it here, I might tell you what's wrong with it.

Emperor Cyros
06-20-2002, 08:48 PM
Well here it is to one of the textures.

textures/borg/borgfloorsm
{
surfaceparm metalsteps
{
map $lightmap
rgbGen identity
}
{
map textures/borg/borgfloorsm.tga
blendFunc GL_DST_COLOR GL_ZERO
rgbGen identity
}
{
map textures/detail/sheetflake_lowcontrast.tga
blendFunc GL_DST_COLOR GL_SRC_COLOR
detail
rgbGen identity
tcMod scale 12 12
}
}


(If this isn't what you wanted sorry I'm new with some of this stuff)