mad mapper Posted August 12, 2004 Posted August 12, 2004 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 Posted August 12, 2004 Posted August 12, 2004 Have a look in the shader manual for polygonoffset
mad mapper Posted August 12, 2004 Author Posted August 12, 2004 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 Posted August 12, 2004 Posted August 12, 2004 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 Posted August 12, 2004 Author Posted August 12, 2004 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
Recommended Posts
Archived
This topic is now archived and is closed to further replies.