Yue Posted August 9, 2022 Share Posted August 9, 2022 I have a problem, and that is that the Shader only works in the editor, I have configured the camera to show the Shader effects, but for some reason it doesn't work. Any suggestions? Quote Link to comment Share on other sites More sharing options...
Yue Posted August 9, 2022 Author Share Posted August 9, 2022 The solution to this, is that the DOF effect will interfere with the value of the distance shader variables if I have this at a value of zero. camera:SetMultisampleMode(0) Quote Link to comment Share on other sites More sharing options...
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.