Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Ubik3D on November 04, 2016, 07:03:54 PM

Title: Postprocessing-values via "set property"?
Post 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?
Title: Re: Postprocessing-values via "set property"?
Post by: Ubik3D on November 05, 2016, 03:21:33 PM
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.

Title: Re: Postprocessing-values via "set property"?
Post by: dudebxl on November 05, 2016, 04:47:56 PM
Sorry.. I mean in the scripts not action change the var from private to public and it should help.. It depends on the script..
Title: Re: Postprocessing-values via "set property"?
Post by: Ubik3D on November 05, 2016, 04:53:10 PM
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?
Title: Re: Postprocessing-values via "set property"?
Post by: dudebxl on November 05, 2016, 05:03:46 PM
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.
Title: Re: Postprocessing-values via "set property"?
Post by: Ubik3D on November 06, 2016, 04:34:41 AM
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)
Title: Re: Postprocessing-values via "set property"?
Post by: blackant on November 15, 2017, 08:54:04 AM
is there any news about this or should i start creating my own actions ?
Title: Re: Postprocessing-values via "set property"?
Post by: Ofonna on November 17, 2017, 12:32:28 AM
https://github.com/dumbgamedev/postprocess_playmaker

dumb game dev already saved the day