Allow us to specify a format for custom render targets (defined in a Shaders/Post file e.g. transparancy.json).
The format could be specified like so:
{name: "mytarget", format: RGBA16F, width: 512, height: 512 }
This could be very useful in situations where different formats than RGBA8_UNORM are needed. One example might be using a HDR format (such as in the example above) to reduce banding artefacts in Bloom shaders.
Please sign in to leave a comment.
0 Comments