Shaders(Materials) Explained

Can you just tell me how did you create that half transparent orange ball? I really need to know it. :)
 
Last edited:
Ok, I found better way to make material transparent. Was tested with ir_sr3shaderball shader

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


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

I guess you can copy this line to almost all shader to add transparency, but this thing need to be tested.

Note: Restart SDK Converter after editing sr_shaders.xml
upload_2018-4-14_20-39-31.png

20180414205821_1.jpg


With ir_at_bbsimple1 works not so good, opacity control doesn't work
20180414210945_1.jpg


ir_bbsimple1 also has not control by base opacity
20180414211635_1.jpg


ir_sr3npcclothfullPulse has no transparency control

Looks like only shaderball has this option
 
Last edited:
Maybe I have an old version of the converter.
Don't think so. My SaintsRow_FBX_Converter.py file from 17 nov 2016. Maybe your sr_shader.xml has read-only attribute and doesn't save settings? Replace your file
 

Attachments

  • sr_shaders.xml
    18.6 KB · Views: 346
Back
Top