items seeing thru walls


(Demolama) #1

just currious as to how I could stop some icons from showing thru walls… and example would be covert no shoot sign being seen through walls

I assume that these variables have something to do with it… but Im not sure… anyone have a clue and could help me understand how to keep some icons from seeing thru walls and floors

            ent.shaderRGBA[0] = 255;
	ent.shaderRGBA[1] = 255;
	ent.shaderRGBA[2] = 255;
	ent.shaderRGBA[3] = 255;

if thats not the case … then I guess I have to somehow change the icon


(Rain) #2

The covert no-shoot symbol (as normally used) is drawn on the HUD, so the normal depth testing would never catch it…


(fretn) #3

I think it’s because your pics don’t have a shader


(Demolama) #4

yea I was thinking that… they were meant to be icons… ie mg42 icons on the screen when you are currently have that item up… so that doesnt surprise me if thats the case… I’ll just have to go in and redo them