Outerra forum

Anteworld - Outerra Game => Tech demo, support, updates => Topic started by: deathevor on February 16, 2013, 09:02:07 pm

Title: Matlib "m" value question
Post by: deathevor on February 16, 2013, 09:02:07 pm
Quick qestion:

Have Spec map:
(http://img109.imageshack.us/img109/2505/windowdoublespec.jpg)
MAtlib settings:

Code: [Select]
"name" : "ID884",
"diffuse" : "185,185,185,255",
"Ax" : "0.077",
"Ay" : "7",
"m" : "0.5",
"tex_diffuse" : "WindowDouble.dds",
"tex_normal" : "",
"tex_env" : "WindowDouble_Spec.dds",
"tex_opacity" : "",
"tex_reflectance" : ""


If "m": 0.5
result
(http://imageshack.us/a/img689/1597/screen1361066095.th.jpg) (http://img689.imageshack.us/img689/1597/screen1361066095.jpg)

If "m: 0.05
result
(http://imageshack.us/a/img835/7007/screen1361066071.th.jpg) (http://img835.imageshack.us/img835/7007/screen1361066071.jpg)


Why it does invert result?
Title: Re: Matlib "m" value question
Post by: angrypig on February 18, 2013, 08:56:23 am
because it is not specular map but roughness map, 0-means perfect mirror and 1 perfect matte material...

http://xtrac.outerraworld.com/trac.fcgi/wiki/material (http://xtrac.outerraworld.com/trac.fcgi/wiki/material)
Title: Re: Matlib "m" value question
Post by: deathevor on February 18, 2013, 09:21:31 am
Oops :)