0
Answered

Post Processing

Aeon FitzGerald 2 months ago in Game Creator updated by Marti (Lead Developer) 2 months ago 3

How can Game creator control Post processing overrides? 

i want to make a vignette that happens when the player takes damage. 


I tried making a game object with the overrides in it and using an action to enable/disable it, but it didn't work. 

Any suggestions? 

Unity version:
2019.3
Game Creator version:
1.1.5

Answer

Answer
Under review

The best way to do this would be using a custom Action that modifies the Post Processing stack. Unfortunately there's none in the Hub at the moment.

However, I believe there's a work around that you can try without doing any scripting. Create an empty game object in the scene and add a "Post Processing Volume" with the "Global" option enabled. Add in your "damage" effects, such as vignette and red colored ambience.

Then, using the Action "Set Active" you can enable/disable the global volume to enable/disable the post processing volume.

If I'm not mistaken, this should modify the post-processing layer of the camera. Let me know how it works and if it solves the problem I'll mark the issue as resolved.

GOOD, I'M SATISFIED
Satisfaction mark by Aeon FitzGerald 2 months ago
Answer
Under review

The best way to do this would be using a custom Action that modifies the Post Processing stack. Unfortunately there's none in the Hub at the moment.

However, I believe there's a work around that you can try without doing any scripting. Create an empty game object in the scene and add a "Post Processing Volume" with the "Global" option enabled. Add in your "damage" effects, such as vignette and red colored ambience.

Then, using the Action "Set Active" you can enable/disable the global volume to enable/disable the post processing volume.

If I'm not mistaken, this should modify the post-processing layer of the camera. Let me know how it works and if it solves the problem I'll mark the issue as resolved.

+1

Ah okay, i was trying to use "enable component" before, "set active" gives the desired effect, Thanks mate! 

Answered

You're welcome! :-)