Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: Ubik3D on November 04, 2016, 07:03:54 PM
-
Hi Hutong Forums!
Have you tried Unity's new post processing stack? It's pretty rad, and you should all add it on your cameras to make your games look great :D
https://github.com/Unity-Technologies/PostProcessing/wiki (https://github.com/Unity-Technologies/PostProcessing/wiki)
In order to use it you need a profile that you can access with the "set property" action.
However, the only properties I can access through "set property" is wether or not the different post-processing effects are enabled or not, via a bool "enabled".
Is there a way to expose all the different variables inside the effects to playmaker? How?
-
Sorry I don't understand your answer.
The bools are what I can currently access through "Set Property", but it simply don't find the other variables I would like to expose. E.g. FoV Distance.
-
Sorry.. I mean in the scripts not action change the var from private to public and it should help.. It depends on the script..
-
I tried that but couldn't find the variables I wanted to expose.
It seems to me that this is some kind of new programming style that references a "profile"-asset instead of just having regular scripts, and this "profile-script" itself doesn't seem to hold the variables? I'm confused.
Someone who wants to try the new Post-processing stack and have a look?
-
Ah ok.. i see.. just had a look.. i think you need to make custom actions as for example the script AntialiasingModel.cs has your variables that could be changed by a custom action. But i have not tried so i am assuming.
-
I haven't found the right solution. I asked on the Unity forums for hints on how to access the variables, but didn't get an answer yet.
https://forum.unity3d.com/threads/new-post-processing-stack-pre-release.435581/page-2 (https://forum.unity3d.com/threads/new-post-processing-stack-pre-release.435581/page-2)
-
is there any news about this or should i start creating my own actions ?
-
https://github.com/dumbgamedev/postprocess_playmaker
dumb game dev already saved the day