Announcement

Collapse
No announcement yet.

How to increase Sun size

Collapse
Only viewable if you're a logged in user
X
Collapse
First Prev Next Last
 
  • Filter
  • Time
  • Show
Clear All
new posts

    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

    #2
    Originally posted by advut View Post
    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


      #3
      Wow!

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

      Comment


        #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, 01:50 PM. Reason: More clarity

        Comment


          #5
          Thanks for the tip, works well, sorry cannot help on size though.
          sigpic
          Intel i5 2400, Mobo ASUS P8H67, Win 10 Prof 64bit, 32GB Ram, Nvidia GTX960 4GB, SB Audigy, 6.25TB HDD's.

          Comment


            #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


              #7
              Originally posted by advut View Post
              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


                #8
                Thanks markyisri.

                Comment

                Working...
                X