To change the effect so that the legacy one (or another one is used), you will have to change the code in DirectorCamera.cs file found within the “#if SLATE_USE_POSTSTACK” define. Specifically:
At line #38, you need to change the component type to be the type of the legacy Depth of Field for example.
At lines #89 to #112, there are the two properties “focalPoint” and “focalRange” which basically control the depth of field (setting the depth of field and getting the depth of field values from the component). Right now the values are get/set from the post processing stack. The properties can though be changed, to get/set those values from another depth of field effect like the legacy one.
These are the only changes needed. If you want exact code, just let me know.
Regarding your other request, yes of course. I can certainly add Aperture control and can change the naming to be Focus Distance and Focal Length. I will do that once I imlement the Post Processing Stack v2 .
Thanks 🙂
Join us on Discord: https://discord.gg/97q2Rjh
Login
Register
By registering on this website you agree to our Privacy Policy.