lfnetwork.com mark read register faq members calendar

Thread: Shader problem
Thread Tools Display Modes
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Old 08-12-2004, 09:06 AM   #1
mad mapper
Rookie
 
Join Date: Aug 2004
Location: Germany
Posts: 25
Question Shader problem

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.


Excuse my bad English please.
mad mapper is offline   you may: quote & reply,
Old 08-12-2004, 09:09 AM   #2
Codja X
Junior Member
 
Codja X's Avatar
 
Join Date: Mar 2004
Location: South Wales, UK
Posts: 445
Have a look in the shader manual for polygonoffset
Codja X is offline   you may: quote & reply,
Old 08-12-2004, 09:13 AM   #3
mad mapper
Rookie
 
Join Date: Aug 2004
Location: Germany
Posts: 25
sorry, but i don't no how to use the command polygonoffset. Something like that:?

textures/test/test
{
polygonoffset <value>
{
map textures/test/test
}
}


Excuse my bad English please.
mad mapper is offline   you may: quote & reply,
Old 08-12-2004, 09:20 AM   #4
Codja X
Junior Member
 
Codja X's Avatar
 
Join Date: Mar 2004
Location: South Wales, UK
Posts: 445
http://shaderlab.com/q3map2/shader_m...#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.
Codja X is offline   you may: quote & reply,
Old 08-12-2004, 11:48 AM   #5
mad mapper
Rookie
 
Join Date: Aug 2004
Location: Germany
Posts: 25
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


Excuse my bad English please.
mad mapper is offline   you may: quote & reply,
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Go Back   LucasForums > Network > JediKnight Series > Editing Central > JA Mapping > Shader problem

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:45 AM.

LFNetwork, LLC ©2002-2011 - All rights reserved.
Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.