Amplifying your potential.

Top to Bottom Gradient Shader

Node-based Shader Editor
2 posts • Page 1 of 1

Top to Bottom Gradient Shader

Postby Jcadman » Mon Apr 01, 2019 3:40 am

Hey! For the project I'm working on we're trying to get a shader working that sets a top to bottom gradient on an object regardless of its orientation.

This is as far as I've been able to get:



It does apply a top to bottom gradient, but the colours can end up slightly skewed depending on the object it's on because of the way it's being masked and the gradient maintains its orientation instead of staying top-to-bottom even if the object spins.

I found an example of a graph that has it working in Unreal, but I'm not sure how to translate it into Amplify ... d-uvw.html
Posts: 1
Joined: Mon Apr 01, 2019 3:32 am

Re: Top to Bottom Gradient Shader

Postby Amplify_Borba » Tue Apr 02, 2019 1:36 pm

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

According to the shared example, you'll need to make use of the World Position node in order to produce a gradient that is not influenced by the object's rotation.
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
Posts: 1239
Joined: Mon Jul 24, 2017 9:50 am

2 posts • Page 1 of 1

Return to Amplify Shader Editor

Who is online

Users browsing this forum: No registered users and 2 guests