[Suggestion] Disable r.CompileShadersForDevelopment

2 votes

Hey guys,
Please consider disabling the following cvar by default in shipping

r.CompileShadersForDevelopment

It defaults enabled with integer 1. Change to 0.


From UE docs
https://framedsc.com/GeneralGuides/ue4_commands.htm
Setting this to 0 allows to ship a game with more optimized shaders as some
editor and development features are not longer compiled into the shaders.
Note: This should be done when shipping but it's not done automatically yet (feature need to mature
and shaders will compile slower as shader caching from development isn't shared).
Cannot be changed at runtime - can be put into BaseEngine.ini
0: off, shader can run a bit faster
1: on (Default)




Thanks for your consideration
-yerts

Under consideration Performance Suggested by: yerts Upvoted: 19 Nov, '24 Comments: 0

Comments: 0