Note: LucasForums Archive Project
The content here was reconstructed by scraping the Wayback Machine in an effort to restore some of what was lost when LF went down. The LucasForums Archive Project claims no ownership over the content or assets that were archived on archive.org.

This project is meant for research purposes only.

Shader problem

Page: 1 of 1
 mad mapper
08-12-2004, 9:06 AM
#1
I want to create a shader that is drawn above all other shaders in game. I tried the function sort <value>, but it didn't work. Maybe anyone knows an answer.
 Codja X
08-12-2004, 9:09 AM
#2
Have a look in the shader manual for polygonoffset
 mad mapper
08-12-2004, 9:13 AM
#3
sorry, but i don't no how to use the command polygonoffset. Something like that:?

textures/test/test
{
polygonoffset <value>
{
map textures/test/test
}
}
 Codja X
08-12-2004, 9:20 AM
#4
http://shaderlab.com/q3map2/shader_manual/ch2.html#polygonoffset)

I'm not really sure myself, hence the advice in looking at the manual, but you shouldn't need a value - just put the word in there - before your stages.

This should render the texture a pixel or so above the surface - it's not noticable in game.
 mad mapper
08-12-2004, 11:48 AM
#5
Well, that is not what i search for.

I want the texture to be renderer before ANY other texture in the game even if it is 100 m behind the texture in the front
Page: 1 of 1