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: New material settings somewhere documented?  (Read 3241 times)

2eyed

  • Sr. Member
  • ****
  • Posts: 352
  • newbie
New material settings somewhere documented?
« on: February 22, 2014, 09:57:02 am »

With the latest update, material properties changed. Is there  already any reference on this. Wiki seem to be outdated.
For example:
{
      "name" :

"Cessna_EXT",
      

"color" : "1.0,1.0,1.0,1.0",
   

   "f0" : "1.0",
      

"roughness" : ".35",
      

"no_light" : false,
      

"alpha_masked" : false,
   

   "tex_albedo" :

"Cessna_EXT_red.dds",
      

"tex_normal" :

"Cessna_EXT_norm.dds",
      

"tex_roughness" :

"Cessna_EXT_rg.dds",
      

"tex_opacity" : "",
      

"tex_reflectance" :

"Cessna_EXT_ref.dds",
      

"tex_environment" : ""
   },
Could you please give some explanations. f0? Tex albedo?
Old matlib is obsolete, isn't it?
Logged

DeanosBeano

  • Full Member
  • ***
  • Posts: 106
  • newbie
Re: New material settings somewhere documented?
« Reply #1 on: February 22, 2014, 10:10:04 am »

 here is some info from another post hope it helps 

 Angrypig Said :
 
Quote
f0 should be ~0.04 for common materials and ~0.08 for glass. If you want to make material transparent you have to set the alpha value to less than 1.0. In your case the final alpha value is computed from 0.99 * alpha value from the texture.

example:

Code: [Select]

   {
      "name" : "glass",
      "color" : ".725,.725,.725,.99",
      "f0" : ".078",
      "roughness" : "0.0",
      "no_light" : false,
      "alpha_masked" : false,
      "tex_albedo" : "",
      "tex_normal" : "",
      "tex_roughness" : "",
      "tex_opacity" : "trans.dds",
      "tex_reflectance" : "",
      "tex_environment" : ""
   },


Logged

zzz

  • Sr. Member
  • ****
  • Posts: 266
  • newbie
Re: New material settings somewhere documented?
« Reply #2 on: February 22, 2014, 10:52:55 am »

It's basically still this:

http://xtrac.outerraworld.com/trac.fcgi/wiki/material

except Ax is now f0, m is roughness and tex_diffuse is tex_albedo.
Logged

necro

  • Sr. Member
  • ****
  • Posts: 451
    • google+ Blog
Re: New material settings somewhere documented?
« Reply #3 on: February 25, 2014, 06:27:03 am »

Nah, fx is not Ax.

fx is the percentage of light which will be reflected by the surface related to your eye. So 1.0 means, that 100% of light will be reflected (a perfect mirror) and 0.0 of course 0 (a black whole).

So matte materials like wood or stone should have fx values between 0.03 and 0.04.
Logged