Make texture always fullbright


(Flippy) #1

Hey…

Is there a way of having a texture be always fullbright? It should not receive any shadows, and should not be affacted by any “ambient” or minlight worldspawn keys… I want it to be 100% bright all the time.
Because I want the map to be a bit darker, while this one texture should not become darker.
Placing a light infront of it is no option… ^^

Any ideas?


(C) #2

Skip the lightmap phase:

textures/mapname/shadername
{
	qer_editorimage textures/mapname/texture.tga
	{
		map textures/mapname/texture.tga
		blendFunc filter
		rgbGen identity
	}
}

(Flippy) #3

Thanks, it did the trick, but it has one minor bug now… :stuck_out_tongue: The sun from the skybox is showing through :stuck_out_tongue:


(S14Y3R) #4

try surfaceparm pointlight below your qer_editorimage, pointlight bypasses lightmapping and helps keep surfaces opaque


textures/mapname/shadername
{
   qer_editorimage textures/mapname/texture.tga
   surfaceparm pointlight
   {
      map textures/mapname/texture.tga
      blendFunc filter
      rgbGen identity
   }
}