why is this?


(twt_thunder) #1

hey folks… wierd things always happens to me…lol

i am making some new jungle bushes and stuff and this thing happend:

in gtk:

as you see the shader works great…

but ingame…this happens:

why is that happening? the shader is added in the models_mapobjects shader in the bottom…

and goes like this:

//nam models
models/mapobjects/nam/bush1
{
	qer_alphafunc greater 0.5
	qer_editorimage models/mapobjects/nam/bush1.tga
	cull disable
	surfaceparm alphashadow
	surfaceparm trans
	surfaceparm nomarks
	nopicmip
	implicitMask -
}


(IndyJones) #2
// zielsko
textures/italy/ivy06a
{
	qer_trans 0.85
	qer_editorimage textures/italy/ivy06a.tga
	cull disable
	sort 6
	nomipmaps
	nopicmip
	surfaceparm nomarks
	surfaceparm alphashadow
	surfaceparm pointlight
	surfaceparm trans
	surfaceparm nonsolid

	implicitMask textures/italy/ivy06a.tga
}

i usually use this shader for transparent stuff. try adding path to the implicitmask.


(-SSF-Sage) #3

The fact that it works in radiant means nothing.

qer_alphafunc greater 0.5

This (and this only) makes it trans in radiant, but it is not readed by compiler or game. So nothing weird with that.


(twt_thunder) #4

@indyjones thanks i will try that…