1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Shaders(Materials) Explained

Discussion in 'Guides and Tutorials' started by Henry08, Feb 1, 2018.

  1. Admixon

    Admixon Modding patch tester

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

    Material looks like this

    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

    With ir_at_bbsimple1 works not so good, opacity control doesn't work

    ir_bbsimple1 also has not control by base opacity

    ir_sr3npcclothfullPulse has no transparency control

    Looks like only shaderball has this option
    Last edited: Apr 14, 2018
    Fan of Saints likes this.
  3. Admixon

    Admixon Modding patch tester

    Thanks, I'll try it later :)
  4. Admixon

    Admixon Modding patch tester

  5. oh hello. this seems interesting.
  6. Admixon

    Admixon Modding patch tester

  7. Admixon

    Admixon Modding patch tester

    Maybe I have an old version of the converter.
  8. 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

    Attached Files: