Add Basic Keywords to Loading Screen So No Shaders Break Ever Again
tracked
poiyomi
It would be great if these keywords from standard and post processing were loaded for everyone so maps and shaders don't break anymore.
Unity Standard keywords and Post Processing V2.
_ALPHABLEND_ON
_ALPHAMODULATE_ON
_ALPHAPREMULTIPLY_ON
_ALPHATEST_ON
_COLORADDSUBDIFF_ON
_COLORCOLOR_ON
_COLOROVERLAY_ON
_DETAIL_MULX2
_EMISSION
_FADING_ON
_GLOSSYREFLECTIONS_OFF
_GLOSSYREFLECTIONS_OFF
_MAPPING_6_FRAMES_LAYOUT
_METALLICGLOSSMAP
_NORMALMAP
_PARALLAXMAP
_REQUIRE_UV2
_SMOOTHNESS_TEXTURE_ALBEDO_CHANNEL_A
_SPECGLOSSMAP
_SPECULARHIGHLIGHTS_OFF
_SPECULARHIGHLIGHTS_OFF
_SUNDISK_HIGH_QUALITY
_SUNDISK_NONE
_SUNDISK_SIMPLE
_TERRAIN_NORMAL_MAP
BILLBOARD_FACE_CAMERA_POS
EFFECT_BUMP
EFFECT_HUE_VARIATION
ETC1_EXTERNAL_ALPHA
GEOM_TYPE_BRANCH
GEOM_TYPE_BRANCH_DETAIL
GEOM_TYPE_FROND
GEOM_TYPE_LEAF
GEOM_TYPE_MESH
LOD_FADE_CROSSFADE
PIXELSNAP_ON
SOFTPARTICLES_ON
STEREO_INSTANCING_ON
STEREO_MULTIVIEW_ON
UNITY_HDR_ON
UNITY_SINGLE_PASS_STEREO
UNITY_UI_ALPHACLIP
UNITY_UI_CLIP_RECT
Additionally if you're super nice you could make default keywords for shader devs to use so they wouldn't break the game anymore and had some sort of best practice to follow.
Examples:
ONE, TWO, THREE ,FOUR ,FIVE ,SIX ,SEVEN ,EIGHT ,NINE ,TEN ,ELEVEN ,TWELVE ,THIRTEEN ,FOURTEEN ,FIFTEEN ,SIXTEEN ,SEVENTEEN ,EIGHTEEN ,NINETEEN ,TWENTY
This would give shader devs 20 keywords to mess with so no one would have to worry about their keywords breaking anymore if they follow best practices.
It would take 20 seconds to copy and paste these into the loading screen material and fix all the basic keyword problems with the game.
Love: poiyomi
Log In
Scout - VRChat Head of Quality Assurance
tracked
2d8f63a2d9e9449
In 2019 only "_EMISSION" and "EDITOR_VISUALIZATION" seem to be the only global builtin keywords and because of the nature of "EDITOR_VISUALIZATION" that leaves only "_EMISSION"
PostProcessing Keywords all still use "#pragma multi_compile" which declares a set of global keywords (unless suffixed with "_local" e.g. "#pragma multi_compile_local")
xxx_red_xxx
A lot of shader makers seem to use shader forge, and I only partly understand what you said. Being said, I have a feeling shader forge wouldn't be set up for this nor would amateurs know how to set it up if it did.
StormiTheAvali
I have no idea what any of this means but poiyomi is requesting it so it must be important. I fully support it.
ᴋᴀᴡᴀ
I guess, it's better to upgrade unity, where new feature: shader-local keywords available
Grooticas
well to me this help a lot with same shaders being being too laggy and i don't have a problem with post processing
Code-Floof
I am personally against this because forcing post processing stack v2 keywords prevents me from blocking it
poiyomi
Code-Floof: You could still just block them. I'm just asking for these to be in the loading screen.
Merlin
Code-Floof: https://xkcd.com/1172/ if you want to kill post processing if this gets fixed then run an override camera on your avatar that follows your neck position. People see completely garbage looking worlds with no post processing because they have run out of keywords and don't even know way too often.
Wolfine
I will be watching ever so intently with this song playing awaiting for a reply.
poiyomi
Something like this could also be used for reserved keyword:
VRC_00, VRC_01, VRC_02, VRC_03, VRC_04, VRC_05, VRC_06, VRC_07, VRC_08, VRC_09, VRC_10, VRC_11, VRC_11, VRC_12, VRC_13, VRC_14, VRC_15, VRC_16, VRC_17, VRC_18, VRC_19, VRC_20