Jump to content

Using Procedural Worlds Sky with sun and moon disabled


Mendrys

Recommended Posts

I am using Gaia Pro 2023 with Unity 2022.3, and I am procedurally creating my own Sun and Moon based on a given latitude and longitude, but would like to use the PW Sky Skybox, Shadow settings shown below while disabling the sun, or at least the moon object.  I know that the rotation and the time of day are the x and y positions aka altitude and azimuth but don't have a clear idea of how to change the Gaia time of day.  I can get it with this:

float m_gaiaTimeOfDay = PWSkyStandalone.GetTimeOfDayMainValue();

but don't know how to set the gaiaTimeOfDay and the Sun rotation.  Any advice would be greatly appreciated.

image.thumb.png.3e465e5f13fa0f84dbeb51cfa57d03b7.png

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Tell a friend

    Love Canopy - Procedural Worlds? Tell a friend!
  • Need help?

    We work with some of the biggest brands in global gaming, automotive, technology, and government to create environments, games, simulations, and product launches for desktop, mobile, and VR.

    Our unique expertise and technology enable us to deliver solutions that look and run better at a fraction of the time and cost of a typical project.

    Check out some of our non-NDA work in the Gallery, and then Contact Us to accelerate your next project!

×
×
  • Create New...