Amplifying your potential.

Transition Lut Texture in Code

Advanced Color Grading for Unity Pro
2 posts • Page 1 of 1

Transition Lut Texture in Code

Postby eric_psoverlord » Wed Mar 28, 2018 1:01 am

Hey! I've got a day/night cycle, and I'd like to be able to smoothly transition between Lut Textures for different hours in the day (sunrise/sunset, night time, day time, etc). How would I do this in code?
eric_psoverlord
 
Posts: 1
Joined: Wed Mar 28, 2018 12:58 am

Re: Transition Lut Texture in Code

Postby Amplify_Borba » Wed Mar 28, 2018 9:15 am

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

I'm attaching a sample script that cycles through an array of LUT textures on key press, you'll just need to add it to the Camera with the Amplify Color component. Feel free to change or adapt the code to suit your project's needs.

Please let me know if this helps, thanks!
Attachments
ChangeLut.zip
(630 Bytes) Downloaded 90 times
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


2 posts • Page 1 of 1

Return to Amplify Color

Who is online

Users browsing this forum: No registered users and 1 guest