LucasForums

LucasForums (http://www.lucasforums.com/index.php)
-   JA Mapping (http://www.lucasforums.com/forumdisplay.php?f=540)
-   -   shader trouble (http://www.lucasforums.com/showthread.php?t=166238)

___ACROBAT___ 06-16-2006 12:30 AM

shader trouble
 
ok i can see the shader in gtk- here it is!

textures/acrobat2/climbingsign
{
qer_editorimage textures/acrobat2/climbing
q3map_nolightmap
cull disable
{
map textures/acrobat2/climbing
tcMod scroll 0 0.1
tcMod scale 4 6
}
}





However once i launch the map i get the error

GL_State: invalid dst blend state bits

MDN14 06-16-2006 03:55 PM

Cause you dont have a belnd function set in the shader. Try this:

{
map textures/acrobat2/climbing
blendFunc GL_ONE GL_ONE
tcMod scroll 0 0.1
tcMod scale 4 6
}



You might need to edit the blendFunc to get the result you are looking for.

{NJO}*Dark 06-19-2006 01:01 PM

erm, would the blendFunc not be GL_DST_COLOR GL_ZERO

MDN14 06-20-2006 02:45 AM

Whatever, I was just saying one that came to mind first and told him to use that to see if it even works or not. Thats why I said he might need to change it to get it looking how he wants


All times are GMT -4. The time now is 04:01 PM.

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