Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: Michaelb on September 19, 2016, 03:26:36 PM
-
Hi to all and thank you in advance for your help on this topic.
I want to rotate the Skybox in the environment lighting tab.
Have several skybox cube map materials that i assign to Skybox.
And i want to rotate the skybox with a slider.
A second part is that i want to control the brightness of the skybox with a slider as well.
I am on a tight deadline and what seemed so eazy turned out to be a nightmare.
Thank you.
-
No one??? :'(
Is it so hard to do with Playmaker???
-
Hi,
is this possible with unity in code?
-
Hi , thanks for the reply ,
found several topics
http://answers.unity3d.com/questions/923064/unity-5-skybox-not-rotating.html
and just now i found the camera component
https://docs.unity3d.com/Manual/class-Skybox.html
Will try this.
P.S
Other solution in Unity scripting do not work
-
I think i solved it!!!!
Will post solution shortly for other that face the same issue.
Thank you for the help in general.
-
No luck .....
@jeanfabre can you kindly help me out on this one?
-
I think you cant do it, you can map a sky panorama on a dome (half sphere) and rotate that.
-
i need to light the scene with the HDRI as well.
Cant we make a quick action (Playmaker Team) ???
-
Found solution with second camera.
First camera gets depth only.
Second camera get skybox.
Parent second camera to the first camera so it shows exactly the same on both.
First camera renders the scene , second the skybox.
If you rotate the second camera it rotates the skybox and you see it through the first one ;).
Second cameras depth must be lower that the first camera depth in the camera settings.
Thats it.