Alpha Shader on ASE Model Invisible with 2.5.15


(Gringo Starr) #1

I have a shader on a model (someone else’s ASE model), which is invisible when compiled with 2.5.15, but is ok with 2.5.11. Here is the shader. Don’t mind the x’s, I’m just paranoid :).

textures/xxxxx/xxxxxx
{
	qer_editorimage textures/xxxxx/xxxxx.tga  
	surfaceparm gravelsteps 
	surfaceparm alphashadow 
	q3map_lightmapsamplesize 32  
	q3map_splotchfix  
	q3map_nonplanar  
	//q3map_shadeangle 20  
	//q3map_clipModel
	q3map_forcemeta  
	q3map_lightmapGamma 0.6 
	cull none

	{  
		map textures/xxxxxxx.tga  
		alphafunc ge128  
		depthWrite
		rgbGen vertex
	}  
}

(ydnar) #2

Add this to the shader and recompile, see if it fixes the problem:

q3map_alphaGen const 1.0

y


(Hewster) #3

Subject concluded in this thread:

http://www.splashdamage.com/index.php?name=pnPHPbb2&file=viewtopic&p=84417#84417