Hi all,
A node I used often in shader forge was inverse lerp, but it appears there is no such node in amplify. does it exist as another node i am unaware of?
I suppose i could use Smoothstep, but it would be ideal to be able to control the interpolation.
alternatively I guess its also possible to remap and then saturate.
But just asking, incase there is another solution.
regards,
jimmy.
Inverse Lerp
- Amplify_Borba
- Posts: 1239
- Joined: Mon Jul 24, 2017 9:50 am
Re: Inverse Lerp
Hello Jimmy!
Although we don't have an InverseLerp node, the equivalent alternative would be to use the Remap Node by setting the Min New and Max New ports to 0 and 1 respectively, and then use Min Old and Max Old in the same way you'd use ports A and B in the InverseLerp node, and finally saturate the generated output like you pointed out.
Please let us know if you have any further questions, thanks!
Although we don't have an InverseLerp node, the equivalent alternative would be to use the Remap Node by setting the Min New and Max New ports to 0 and 1 respectively, and then use Min Old and Max Old in the same way you'd use ports A and B in the InverseLerp node, and finally saturate the generated output like you pointed out.
Please let us know if you have any further questions, 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!
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!
- Amplify_Borba
- Posts: 1239
- Joined: Mon Jul 24, 2017 9:50 am
Re: Inverse Lerp
No problem, always glad to help!
Have you had the chance to rate and review Amplify Shader Editor? It would be awesome if you could share your experience with the Unity community, the Unity Asset Store thrives on user interaction and direct feedback.
Every bit helps, your feedback is extremely valuable to us!
Don't hesitate to get back in touch should you have any further questions, thanks!
Have you had the chance to rate and review Amplify Shader Editor? It would be awesome if you could share your experience with the Unity community, the Unity Asset Store thrives on user interaction and direct feedback.
Every bit helps, your feedback is extremely valuable to us!
Don't hesitate to get back in touch should you have any further questions, 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!
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!