
2. Semantic-Based Shader Generation Using Shader Shaker 515
2.6.6 Target Code Restrictions
When targeting a specific platform, additional conditions are checked (e.g., sam-
pler count, vertex attribute count, unsupported texture fetch in vertex shader,
etc.)
2.7 Usage Discussions
On top of solving the permutation and the multiplatform problems mentioned
earlier, this technique offers the ability to support some noteworthy tricks and
features. This discussion lists how they can be leveraged to improve both pro-
grammers’ and artists’ experiences.
2.7.1 Fragments Variants
By using a system similar to [Frykholm 11], it becomes easy to allow your en-
gine file ...