Control scaling with Dynamic Resolution
Enable or disable Dynamic Resolution for render targets
Control when Dynamic Scaling happensThe ScalableBufferManager.ResizeBuffers
function immediately scales render texturesA special type of Texture that is created and updated at runtime. To use them, first create a new Render Texture and designate one of your Cameras to render into it. Then you can use the Render Texture in a Material just like a regular Texture. More info
See in Glossary when called. However, you can modify this behavior by using the DynamicallyScalableExplicit
flag. Render textures marked with DynamicallyScalableExplicit
will scale when you call RenderTexture.ApplyDynamicScale
, instead of being automatically scaled when ScalableBufferManager.ResizeBuffers
is called. Scaling causes render texture contents to be invalidated, so you must use DynamicallyScalableExplicit
and RenderTexture.ApplyDynamicScale
to ensure render texture data persists through scale factor changes.
For instance, temporal anti-aliasing improves the visual quality of the current frame by reusing data from previous frames. If the dynamic resolutionA Camera setting that allows you to dynamically scale individual render targets to reduce workload on the GPU. More info
See in Glossary scale factor changes between frames, you need to preserve the previous frameâs data. You can achieve this by marking the render textures containing this data with DynamicallyScalableExplicit
, allowing them to remain valid even after calling ScalableBufferManager.ResizeBuffers
. You only need to resize the current frameâs render texture using RenderTexture.ApplyDynamicScale
, ensuring the previous frameâs render texture remains valid for sampling.
Control scaling with Dynamic Resolution
Enable or disable Dynamic Resolution for render targets
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4