Shaders(Materials) Explained

You think it will work if we copy those values to any other shader?
Yes I guess, for shaders that support specular in this list
ur0rw9hh4gaot9nzg.jpg
 
It's a trick, you can turn on uncontrollable, light-dependence opacity, you can set
In SDK\converter\sr_shaders.xml change to

<Mat_Alpha_Mode>2</Mat_Alpha_Mode> 0 - no opacity; 1 - clipping opacity with alpha; 2 (and 3?) - transparent material

Also you can control transparency by
Ok, I found a better way to make material transparent. Was tested with ir_sr3shaderball shader

Material looks like this
upload_2018-4-14_20-42-15-png.18548


In SDK\converter\sr_shaders.xml change to

<Mat_Alpha_Mode>2</Mat_Alpha_Mode> 0 - no opacity; 1 - clipping opacity with alpha; 2 (and 3?) - transparent material

<Base_Opacity>0.5</Base_Opacity> 0-1 value of transparency, 0 - 100% invisible, 1- 100% opaque

Note: Restart SDK Converter after editing sr_shaders.xml

Still IDK how to create opacity by gradient mask
 
Back
Top