totally not transparent sky?


(Igloo) #1

Hello,

I wonder if it’s possible to make sth like this. You know the effect the light block of this shader does:

textures/common/lightblock
{
	qer_editorimage textures/lightblock/lightblock.tga
	qer_trans 0.5
	surfaceparm nonsolid
	surfaceparm nomarks
	{
		map $whiteimage
		alphaFunc GT0
		alphaGen const 0
	}
}

So you can’t see anything through it - a black view. But how do I use it with sky? There’s a problem… I can’t heighten the walls to fix it… but a single man is able to see the further parts of the map (it’s typical). So is it possible to make a non transparent for view-only sky?

Hope you can imagine it.

Greetings,
Igloo