World Reflection Cube Map Rotation

Node-based Shader Editor

World Reflection Cube Map Rotation

Postby czdanowitz » Sat Jul 28, 2018 4:43 pm

Hi, I am trying to add functionality to a surface shader that has a cube map with world reflection plugged into emission. What I am trying to add is a parameter that modifies the world reflection's Y rotation. In other words, this parameter would behave in the same way that Unity's Skybox/Cubemap material rotation slider works.

I have tried Rotate About Axis, Panner, Rotator, and other ways to modify the world reflection with no positive result. The Rotate About Axis got me the closest, but I couldn't resolve it's issues.

Any help would be greatly appreciated.
Thanks.
czdanowitz
 
Posts: 1
Joined: Fri Jul 27, 2018 11:34 pm

Re: World Reflection Cube Map Rotation

Postby Amplify_Borba » Mon Jul 30, 2018 11:03 am

Hello, thank you for getting in touch and for your support!

You'll have to set up the calculations manually, and we actually provide a sample that can show you how to achieve the desired effect, you can find it at AmplifyShaderEditor > Examples\Community\Skybox Cubemap Extended.

I'm also sending Unity's built-in Skybox shader so that you can examine which properties you can access, for your convenience:

Skybox-Cubed.zip
(1 KiB) Downloaded 552 times


Please let me know if this helps, thanks!
Customer Relations at Amplify Creations
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!
User avatar
Amplify_Borba
 
Posts: 1239
Joined: Mon Jul 24, 2017 9:50 am


Return to Amplify Shader Editor

Who is online

Users browsing this forum: No registered users and 0 guests

cron