r.GeneralPurposeTweak2
r.GeneralPurposeTweak2 is a console variable in Unreal Engine 5 (UE5). See what r.GeneralPurposeTweak2 does, its values, and how to use this cvar in the Unreal console below.
Category: Renderer · Namespace:
rHelp
Useful for low level shader development to get quick iteration time without having to change any c++ code. Value maps to Frame.GeneralPurposeTweak2 inside the shaders. Example usage: Multiplier on some value to tweak, toggle to switch between different algorithms (Default: 1.0) DON\'T USE THIS FOR ANYTHING THAT IS CHECKED IN. Compiled out in SHIPPING to make cheating a bit harder.
Usage
Unreal console (open with ~)
> r.GeneralPurposeTweak2 1Console variables take a value. Replace 1 with the setting you need. Run it with no value to print the current one.
Related in r
r.FXAA.QualityVarr.GammaVarr.GaussianBloom.CrossVarr.GBufferDiffuseSampleOcclusionVarr.GBufferFormatVarr.GeneralPurposeTweakVarr.GenerateMeshDistanceFieldsVarr.GeometryCollection.NaniteVarr.GeometryCollectionOptimizedTransformsVarr.GeometryCollectionSetDynamicData.ISPCVarr.GeometryCollectionTripleBufferUploadsVarr.GFramesNotOcclusionTestedToExpandBBoxesVar