Page 1 of 1

Mixed glWrapClampMode?

Posted: Thu May 02, 2013 8:28 pm
by Eraser
I'm getting this error about a shader in the console:

WARNING: reused image textures/ep_survival/env/sky_rt.tga with mixed glWrapClampMode parm.

I get the warning for each of the 6 skybox images.
Here's the shader:

Code: Select all

textures/ep_survival/skybox 
{
	qer_editorimage textures/ep_survival/env/sky_up.tga
	surfaceparm noimpact
	surfaceparm nolightmap
	q3map_surfacelight 100
	q3map_sunExt 1 1 1 200 -23 30 .5 16
	q3map_lightimage textures/skies/xnight2_up.tga
	skyparms textures/ep_survival/env/sky - -
}
Anyone know what's up with that?

Re: Mixed glWrapClampMode?

Posted: Fri May 03, 2013 3:13 am
by obsidian
Are you using -skyfix? If so, you can safely ignore (so says ydnar).

Re: Mixed glWrapClampMode?

Posted: Fri May 03, 2013 7:41 pm
by Eraser
Ah I see. I indeed used -skyfix. I'll ignore it then.

Re: Mixed glWrapClampMode?

Posted: Sat May 04, 2013 4:28 pm
by CZghost
I can't wait for new EP level =-P''''''''''''

Re: Mixed glWrapClampMode?

Posted: Mon May 06, 2013 5:35 pm
by neoplan
I remember getting that error when using ClampMap in a shader stage.