Upbge 0.2.4 and above. Usage of render attachments and how to?

Hi to all.
Could you please explain what are render attachments exactly and what they do?
I searched a lot before asking this question but i couldn’t find an answer.
I beleieve that is has to do with 2d filters and post processing and how to exclude objects from them?
If possible please post a blend file as an example.

You go to the render tab of the property window and at the bottom you define a buffer

You can export data from a node graph using “output attachment” nodes and using the “custom” buffer type

These attachments are then available to glsl

1 Like

You have an example in the release notes https://github.com/UPBGE/upbge/wiki/Release-notes-version-0.2.5

You have to auto-execute python scripts and component to get it working

1 Like