Announcement

Collapse
No announcement yet.

Change SunSky Directlight intensity at runtime

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Change SunSky Directlight intensity at runtime

    How can I do that in a cycle? I need to simulate a day/night effects

    #2
    Originally posted by KhappaMJ View Post
    How can I do that in a cycle? I need to simulate a day/night effects
    You can use the level BP to move the sun. Which sun and sky are you using?

    Comment


      #3
      Originally posted by ClockworkOcean View Post

      You can use the level BP to move the sun. Which sun and sky are you using?
      I'm using the new Sunsky plugin, do you think is it possible to create a class for that?

      Comment


        #4
        Originally posted by KhappaMJ View Post

        I'm using the new Sunsky plugin, do you think is it possible to create a class for that?
        Do you mean Sky Atmosphere? Also possible.

        Comment


          #5
          yes correct, SkyAtmosphere. How is it possible to change parameters at runtime based on Latitude ?

          Comment


            #6
            Originally posted by KhappaMJ View Post
            yes correct, SkyAtmosphere. How is it possible to change parameters at runtime based on Latitude ?
            Well you just move the directional light. It's just a rotation setting:

            Click image for larger version

Name:	tick.JPG
Views:	93
Size:	68.6 KB
ID:	1762791

            This is way too fast, but you get the idea.

            Comment


              #7
              Thank you so much, I'll try it Hope it's working

              Comment


                #8
                How was the Sunsky? Did it work for the night? Wasnt it locked at 0400hrs to 2200hrs?

                Comment

                Working...
                X