Minus_Alpha argument
Posted: Sat Aug 17, 2013 7:02 pm
				
				Hi!
This is model was exported from 3d max.
Screen: http://stalkerfangroup.ru/Stalker_2/sho ... -56-34.jpg
This is material
Create Entity with #PB_Material_None argument.
Where is mistake? Why alpha not removed? Alpha channel are present.
Thanks
			This is model was exported from 3d max.
Screen: http://stalkerfangroup.ru/Stalker_2/sho ... -56-34.jpg
This is material
Code: Select all
material mtl_fence_01_S
{
	technique
	{
		pass
		{
			ambient 0.588 0.588 0.588 1 
			diffuse 0.588 0.588 0.588 1 
			specular 0 0 0 1 10 
			scene_blend one one_minus_src_alpha 
			cull_hardware none 
			cull_software none
			texture_unit 
			{
				texture mtl_fence_01.dds 
			}
		}
	}
}
material mtl_pod_01_S3
{
	technique
	{
		pass
		{
			ambient 0.588 0.588 0.588 1 
			diffuse 0.588 0.588 0.588 1 
			specular 0 0 0 1 10 
			scene_blend one one_minus_src_alpha 
			texture_unit 
			{
				texture mtl_pod_01.dds
			}
		}
	}
}
material prop_barbwire3_S
{
	technique
	{
		pass
		{
			ambient 0.588 0.588 0.588 1 
			diffuse 0.588 0.588 0.588 1 
			specular 0 0 0 1 10 
			scene_blend one one_minus_src_alpha 
			cull_hardware none 
			cull_software none
			texture_unit 
			{
				texture prop_barbwire3.dds
			}
		}
	}
}
Where is mistake? Why alpha not removed? Alpha channel are present.
Thanks
 
 

