- Home /
Question by
ReadyPlayGames · Jun 04, 2018 at 10:11 PM ·
shadershaderspreprocessor
Which requirements are available for SHADER_REQUIRE and SHADER_AVAILABLE?
In the release notes for 2018.1, these things were added for shaders:
#pragma require XYZ for specific features that the shader requires
SHADER_REQUIRE_XYZ and SHADER_AVAILABLE_XYZ preprocessor defines are passed to shaders, based on which features are requested or are available.
But it doesn't list what XYZ can be. What is available?
Comment
Your answer
Follow this Question
Related Questions
Changing images using a shader on a 2D canvas? 0 Answers
How can I make rim lighting appear in front of everything? 1 Answer
Unity Shaders not working properly on low end Windows Machine 1 Answer
Why does setting maximum shader smoothness show these images? 0 Answers
How to make terrain partially transparent (lower opacity) 1 Answer