unexpected result usinf nolightmap


(malloc100) #1

Hi,

first of all, this is a Question to CallOfDuty q3map.exe / flare.exe

Im did this very simple shader:


{
	surfaceparm nolightmap
	
	{
		map $texturename
	}
}

and all I want to see, is my texture w/o any filtering by the lightmap. But all a get to see is a black cross on a grey ground - (looks like a default texture)

Doing is this way:


{
	{
		map $texturename
	}
}

works fine, the result is, what I want to see, but I always get an error message, that my shader has an lightmap but no stage using the lightmap.

That is, why I added “surfaceparm nolightmap”, but with this my texture disapears
:disgust:

Does somebody know, whats wrong?

Another Question: Is there a q3map2 version for Call of Duty?

maLLoc


(obsidian) #2

I don’t think Q3Map2 supports CoD. If I remember correctly, ydnar tried contacting InfinityWard but didn’t receive a reply.

You’ll have to look for some CoD shader documentation as their shaders are quite different from default Q3 shaders. It’s possible that surfaceparm nolightmap isn’t supported by CoD. You can also try browsing through some of the CoD shaders from the game and try copying a similar shader.