![]() Some other compilation directives make the shader automatically be The shader not work on older GPUs or platforms.Ĭompilation target is indicated by #pragma target name directive, for example: #pragma target 3.5īy default, Unity compiles shaders into almost the lowest supported target (“2.5”) in between DirectX shader models 2.0 and 3.0. ![]() Targets allow using more modern GPU functionality, but might make When writing either Surface Shaders or regularĬompiled into different “shader models”.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |