Outerra forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Outerra Tech Demo download. Help with graphics driver issues

Author Topic: [SOLVED] how to make model with transparent textures?  (Read 3863 times)

hhrhhr

  • Member
  • **
  • Posts: 60
[SOLVED] how to make model with transparent textures?
« on: July 01, 2013, 10:42:08 am »

I have a model of the fence and transparent texture:

...


should get the following picture:




but Outerra gives only use DXT1 with no alpha channel:




p.s.
interesting effect of reflections on the fence :)
« Last Edit: July 03, 2013, 11:49:31 am by hhrhhr »
Logged

angrypig

  • Sr. Member
  • ****
  • Posts: 454
Re: how to make model with transparent textures?
« Reply #1 on: July 01, 2013, 12:52:30 pm »

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
},
Logged

hhrhhr

  • Member
  • **
  • Posts: 60
Re: how to make model with transparent textures?
« Reply #2 on: July 01, 2013, 01:43:16 pm »

thanks, it works:

« Last Edit: July 01, 2013, 01:45:52 pm by hhrhhr »
Logged

PytonPago

  • Hero Member
  • *****
  • Posts: 2266
  • It´s way too complex, dont let me try to explain !
Re: how to make model with transparent textures?
« Reply #3 on: July 02, 2013, 01:37:47 am »

that effect seemed like be due to some hi-voltage cable being fallen onto it somewhere, you should probably call Enel, or what ewer the company there is .. and not approaching it too much.  ;D
Logged
We are still undeveloped as long as we don´t realize, that all our science is still descriptive, and than beyond that description lies a whole new world we just haven´t even started to fully understand.