Wirehead Studios

Wirehead Modifications => General Development ('Laced Neptune') => Topic started by: Devlar on 2004-02-13, 07:33



Title: Shader Error
Post by: Devlar on 2004-02-13, 07:33
(http://nataku.servehttp.com/devlar/error.jpg)

Anyone know how I can fix the white light turning grey and blurring?


Title: Re: Shader Error
Post by: Phoenix on 2004-02-13, 09:00
It looks like improper alpha handling in the renderer.  Q3 can be a pain when dealing with alpha channels.  Are you using a "blendFunc blend" or "blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA" shader keyword?  You might try using "alphaFunc LE128" and alpha channel the texture instead of using alpha blending.  That will hard-edge the texture instead of blending it.  You might also try using "clampmap" instead of "map" on the texture call to fix the texture coords.  If none of that works I'd try changing the image to a .tga or maybe even resizing it.


Title: Re: Shader Error
Post by: Devlar on 2004-02-15, 23:38
Found the answer, it just needed nomip map, thanks for trying to help though