Rick Posted December 17, 2016 Posted December 17, 2016 If I have a post effect shader assigned in my scene on Root, how do I get that so that I can manipulate it's value with SetFloat("var", value)? Quote
shadmar Posted December 17, 2016 Posted December 17, 2016 local shader=Shader:Load("some pp shader") to get a handle. then send the float using shader:SetFloat() 2 Quote HP Omen - 16GB - i7 - Nvidia GTX 1060 6GB
Rick Posted December 17, 2016 Author Posted December 17, 2016 I was confused because normally Load() doesn't get a handle to an existing thing but loads a new one but shaders must work differently. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.