mad mapper Posted August 12, 2004 Share 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. Link to comment Share on other sites More sharing options...
Codja X Posted August 12, 2004 Share Posted August 12, 2004 Have a look in the shader manual for polygonoffset Link to comment Share on other sites More sharing options...
mad mapper Posted August 12, 2004 Author Share 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 } } Link to comment Share on other sites More sharing options...
Codja X Posted August 12, 2004 Share 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. Link to comment Share on other sites More sharing options...
mad mapper Posted August 12, 2004 Author Share 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 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.