Hi!
Need help, please. I need to make some holes in a material. I have read the manual (Material definition, Textures notes and Material parameters), and I can't figure it out.
So far I have been able to use opacity texture, with
- "text_opacity" : "x" where x = DDS texture, no alpha channel, (works fine whether compressed in DTX5 or ATI1).
- "color" : "1.0,1.0,1.0,0.99",
Since "0.99" makes all the material a bit transparent, I can't use it to make just holes.
I have tried
- "color" : "1.0,1.0,1.0,1.0",
- "alpha_masked" : true,
- "tex_albedo" : "x" where x = DDS texture, with alpha channel, compressed in DTX5 (I saw your trees textures have this format).
But nothing happens. Whether alpha channel pixel is black or white, there is no transparency.
________________________________
Also found this
"The alpha masked geometry isn't supported yet, but you can use standard transparency for now.
Code: [Select]
{
"name" : "transparent",
"diffuse" : "255,255,255,0",
"Ax" : "0.04",
"Ay" : "0.04",
"m" : "0.2",
"tex_diffuse" : "diffuse.dds",
"tex_normal" : "",
"tex_env" : "",
"tex_opacity" : "opacity.dds" //< has to be ATI1 format in DDS it's alpha only"
But using 0 in diffuse (guess is "color"), make my model almost invisible.
I would appreciate any help.