Mixed glWrapClampMode?

Discussion for Level editing, modeling, programming, or any of the other technical aspects of Quake
Post Reply
User avatar
Eraser
Posts: 19174
Joined: Fri Dec 01, 2000 8:00 am

Mixed glWrapClampMode?

Post 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?
obsidian
Posts: 10970
Joined: Mon Feb 04, 2002 8:00 am

Re: Mixed glWrapClampMode?

Post by obsidian »

Are you using -skyfix? If so, you can safely ignore (so says ydnar).
[size=85][url=http://gtkradiant.com]GtkRadiant[/url] | [url=http://q3map2.robotrenegade.com]Q3Map2[/url] | [url=http://q3map2.robotrenegade.com/docs/shader_manual/]Shader Manual[/url][/size]
User avatar
Eraser
Posts: 19174
Joined: Fri Dec 01, 2000 8:00 am

Re: Mixed glWrapClampMode?

Post by Eraser »

Ah I see. I indeed used -skyfix. I'll ignore it then.
User avatar
CZghost
Posts: 1943
Joined: Wed Jun 22, 2011 1:45 pm
Location: Czechia
Contact:

Re: Mixed glWrapClampMode?

Post by CZghost »

I can't wait for new EP level =-P''''''''''''
[ Linktree | Twitch | YouTube | Instagram | Websites ]
When you feel the worst, turn to the sun and all the shadows will fall behind you.” - John Lennon
neoplan
Posts: 125
Joined: Thu Jun 05, 2008 9:47 pm

Re: Mixed glWrapClampMode?

Post by neoplan »

I remember getting that error when using ClampMap in a shader stage.
Post Reply