Transition Lut Texture in Code
-
eric_psoverlord
- Posts: 1
- Joined: Wed Mar 28, 2018 12:58 am
Transition Lut Texture in Code
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?
- Amplify_Borba
- Posts: 1239
- Joined: Mon Jul 24, 2017 9:50 am
Re: Transition Lut Texture in Code
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!
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 755 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!
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!