Customize 'Buffer Visualization' for RPG game field
Related post :
https://gameenginebread.blogspot.com/2017/12/visualize-game-stat-in-editors-viewport.html
Buffer visualization is very useful for rendering issues.
But you can use it for your own game content development too. Especially your game has large field and many monster spawn locations, you may need this.
We assume that 'custom depth buffer' is not available. And don't bother other systems.
So, we need a trick. Use 'Metallic' and 'Roughness' for notification object pixel. Materials are very simple. You can understand without more description.
Set the material and check 'Hidden in game' and 'Editor only' of that component.
https://gameenginebread.blogspot.com/2017/12/visualize-game-stat-in-editors-viewport.html
Buffer visualization is very useful for rendering issues.
But you can use it for your own game content development too. Especially your game has large field and many monster spawn locations, you may need this.
Step 1.
Adding Buffer-Visualization is very easy. Open 'BaseEngine.ini' and set a post-process material.Step 2.
Now, let's make materials for buffer visualization.We assume that 'custom depth buffer' is not available. And don't bother other systems.
So, we need a trick. Use 'Metallic' and 'Roughness' for notification object pixel. Materials are very simple. You can understand without more description.
Step 3.
This is a Monster-spawn-location Blueprint actor. A very simple sample...Set the material and check 'Hidden in game' and 'Editor only' of that component.
More.
For practical use, consider the following :- With Custom depth buffer, it will be better.
- If you want display more info in real time, make the actor(or component) with Native C++.
- Do not shipping actors for buffer visualization.
Comments
Post a Comment