transparency in the ogre viewer
Posted: Wed Mar 02, 2005 4:48 pm
is it possible to see alpha-channeled textures like png really transparant in the ogre viewer? I only see it fully opaque.
thanks in advance.
thanks in advance.
Support and community hang-out spot for Ogre3D
https://forums.ogre3d.org/
Code: Select all
material pinematerial/bark
{
technique
{
pass
{
ambient 0.588235 0.588235 0.588235
diffuse 0.588235 0.588235 0.588235
specular 0.9 0.9 0.9 0.0
emissive 0.0 0.0 0.0
texture_unit
{
texture pine1.png
}
}
}
}
material pinematerial/leafs
{
technique
{
pass
{
ambient 0.588235 0.588235 0.588235
diffuse 0.588235 0.588235 0.588235
specular 0.9 0.9 0.9 0.0
emissive 0.0 0.0 0.0
texture_unit
{
texture a_pine1.tga
}
}
}
}