In this page are displayed all the ShaderLab features that are supported by Playworks Plugin.
ShaderLab Feature | Supported |
---|
Shader block | Yes |
Properties block | Yes |
Fallback block | Only for ShadowCaster |
Subshaders
SubShaders |
---|
Feature | Supported |
---|
SubShader block | Yes |
PackageRequirements block | No |
SubShader LOD block | Yes |
SubShader Tags |
---|
Feature | Supported |
---|
SubShader Tags block | Yes |
RenderPipeline SubShader tag | No |
Queue SubShader tag | Yes |
RenderType SubShader tag | Yes |
DisableBatching SubShader tag | No |
CanUseSpriteAtlas SubShader tag | No |
PreviewType SubShader tag | No |
SubShader Commands |
---|
Feature | Supported |
---|
UsePass | Yes |
GrabPass | Yes |
Pass
Pass |
---|
Feature | Supported |
---|
Pass block | Yes |
Name block | Yes |
Pass Tags |
---|
Feature | Supported |
---|
Pass Tags block | Yes |
LightMode tag | Yes |
PassFlags tag | No |
RequiteOptions tag | No |
Pass Commands |
---|
Feature | Supported |
---|
AlphaToMask | No |
Blend | Yes |
BlendOp | Yes |
ColorMask | Yes |
Conservative | No |
Cull | Yes |
Offset | Yes |
Stencil | Yes |
ZClip | Yes |
ZTest | Yes |
ZWrite | Yes |
#pragma
#pragma |
---|
Feature | Supported |
---|
#pragma target <value> | 2.0 - 3.0 (limited for 3.0) |
#pragma only_renderers <value> | Unity Playworks Plugin needs GLES target shaders |
#pragma exclude_renderers <value> | Unity Playworks Plugin needs GLES target shaders |