How to increase Sun size

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • advut
    Senior Member
    • May 2010
    • 178
    • General

    #1

    How to increase Sun size

    I've been doing some experiments and changed the OR sun colour. However, I can't change the sun size to my liking. I've attached before and after screenshots showing the change of sun colour. My modification has increased the sun size somewhat but I want it bigger. Please help.
    Attached Files
  • markyisri
    Senior Member
    • Oct 2016
    • 182

    #2
    Originally posted by advut
    I've been doing some experiments and changed the OR sun colour. However, I can't change the sun size to my liking. I've attached before and after screenshots showing the change of sun colour. My modification has increased the sun size somewhat but I want it bigger. Please help.
    How did you make it bigger?

    Comment

    • Rail Hobo
      Member
      • Jan 2014
      • 74

      #3
      Wow!

      Will you share your results? I'd like to try that as well.

      Comment

      • advut
        Senior Member
        • May 2010
        • 178
        • General

        #4
        Hi, sorry for the late response. Basically you have to edit the skyshader.fx file found in the OR's content folder. You can open this file with Notepad, Wordpad etc. In this file find "// Sun glow" section. There is a line under this which by default says this "skyColor += angleRcp * Fog.y;". Delete this line and put it like this...

        skyColor.r += angleRcp * Fog.w;
        skyColor.g += angleRcp * 0.399 * Fog.w;
        skyColor.b += angleRcp * 0.012 * Fog.w;


        Save it and load OR to test. Remember to only change things that I made bold. You can also put "Fog.y" instead of "Fog.w" which will create a smaller sun. In fact if you don't introduce a bit of fog via the <SHIFT+=> combo you better use "Fog.y" else you may think that the sun has disappeared. I use "Fog.w" because I always use a bit of fog. However, I want bigger sun than what Fog.w can create which is why I am asking for help.
        Last edited by advut; 09-19-2017, 12:50. Reason: More clarity

        Comment

        • burgerbern
          1000 Post Veteran



          • Mar 2005
          • 1088
          • United Kingdom.
          • UK English
          • MSOR

          #5
          Thanks for the tip, works well, sorry cannot help on size though.
          ​
          Processor: Intel 13th Gen i5-13400F, - Mobo: MSI PRO Z790-P​, - OS: Win 11 Prof 64bit. - Memory: Corsair Vengeance 64GB​ Ram, - Graphics MSI RTX 4060 Ventus 2x Black OC 8GB, - Sound: Asus STRIX SOAR Gaming Soundcard​, - Storage: 7TB SSD's. - Case: BeQuiet! Pure Base 500 Black​.

          Comment

          • advut
            Senior Member
            • May 2010
            • 178
            • General

            #6
            Updated Info

            Just to update this thread, I've now figured out how to change the sun size. I just needed to change the angleRcp. Default Fog.y is enough now.

            I've also edited the rgb colour values to make it look better than my last edit.
            Attached Files

            Comment

            • markyisri
              Senior Member
              • Oct 2016
              • 182

              #7
              Originally posted by advut
              Just to update this thread, I've now figured out how to change the sun size. I just needed to change the angleRcp. Default Fog.y is enough now.

              I've also edited the rgb colour values to make it look better than my last edit.
              Wow, that actually makes my eyes uncomfortable!

              Comment

              • advut
                Senior Member
                • May 2010
                • 178
                • General

                #8
                Thanks markyisri.

                Comment

                Working...