Outerra forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Download Outerra Tech Demo. Unofficial Outerra Discord server, MicroProse Discord server for OWS.

Author Topic: [SOLVED] Alpha textures  (Read 8514 times)

DeanosBeano

  • Full Member
  • ***
  • Posts: 106
  • newbie
[SOLVED] Alpha textures
« 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 :(
 
 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


 

 
« Last Edit: February 07, 2014, 02:31:59 pm by DeanosBeano »
Logged

cameni

  • Brano Kemen
  • Outerra Administrator
  • Hero Member
  • *****
  • Posts: 6721
  • No sense of urgency.
    • outerra.com
Re: aplha textures
« Reply #1 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 to view them.
Logged

DeanosBeano

  • Full Member
  • ***
  • Posts: 106
  • newbie
Re: aplha textures
« Reply #2 on: February 07, 2014, 04:48:14 am »

Hi thanks for info

 solved  when i used  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
Cheers
« Last Edit: February 07, 2014, 02:36:44 pm by DeanosBeano »
Logged