Outerra forum

User mods, screenshots & videos => Textures => Topic started by: DeanosBeano on February 06, 2014, 04:48:44 pm

Title: [SOLVED] Alpha textures
Post by: DeanosBeano on February 06, 2014, 04:48:44 pm
 Hi all,
 i am trying to test some ideas for Billboards but struggling to find anyinformation on 32 bit diffuse with Alpha channel

 in this test vid the black should be alpha :(
 frame test (http://www.youtube.com/watch?v=LTzBzdD0Ses#ws)
 i have tried the following matlib and also with the diffuse  at  "diffuse" : "163,163,163,0.1",  and also "alpha_masked" : false,  at True
 cannot find any info and have had a look at thre props on the cessna , however not all them .dds seem unbinarised  and wont open in the xview programme

Code: [Select]
{
"name" : "wf15",
"diffuse" : "163,163,163,255",
"Ax" : "7",
"Ay" : "7",
"m" : "127",
"no_light" : false,
"alpha_masked" : false,
"tex_diffuse" : "wf14.dds",
"tex_normal" : "",
"tex_env" : "",
"tex_opacity" : "",
"tex_reflectance" : ""
},

 in addition can we use the FORMAT command  i want to try a simple

geom.set_mesh_visible_id FORMAT (frame%1_id, false),_x;
_x =_x +1


 

 
Title: Re: aplha textures
Post by: cameni on February 07, 2014, 04:03:16 am
Those textures aren't "binarised" :-)
They are newer DDS formats, not supported everywhere yet, used for alpha channel, or luma-alpha double channels. You can use WTV (http://www.nvidia.com/object/windows_texture_viewer.html) to view them.
Title: Re: aplha textures
Post by: DeanosBeano on February 07, 2014, 04:48:14 am
Hi thanks for info

 solved  when i used  http://www.amnoid.de/ddsview/ (http://www.amnoid.de/ddsview/) to save the opacity as correct type of ATI1N DDS
Code: [Select]
"name" : "wf1",
"diffuse" : "255,255,255,0.5",
"Ax" : "0.04",
"Ay" : "0.04",
"m" : "0.2",
"tex_diffuse" : "wf00.dds",
"tex_normal" : "",
"tex_env" : "",
"tex_opacity" : "wf00_opacity.dds" //< has to be ATI1 format in DDS it's alpha only
outerra test (http://www.youtube.com/watch?v=bQ4P9EJ9MTM#ws)
Cheers