[WIP] Fixed grid blending #483
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
DebugActorRenderPassfor outline rendering (was necessary since the clear was removed from theGridRendererPass)Additional Notes
A side effect of moving the
GridRenderPasstoOpaque + 1instead ofDebug(last), means that post-processing will apply to the grid, including FXAA and auto-exposure. In Cargo, this results in the grid looking brighter. However, since grid color can be tweaked from editor settings, this shouldn't be too much of an issue. It also helps the grid to better fit in within the scene. An issue with this approach is that colored lines might be affect by post-process effects, so they might not reflect the primary colors (red, greed, blue)To-Do
Related Issues
Fixes #380
Screenshots
Fig 1. Cargo Game
Fig 2. Empty scene with post-processing and a white cube
Fig 3. Empty scene with post-processing and a white cube after adjusting scene view colors
Fig 4. When post-processing effects are enabled, the colored lines don't match the primary colors