Skip to main content

Supported Rendering Features

Below you can find listed information on what rendering features we currently support, plan to support and ones that we do not.

Supported

These features are all available right now to use with the Unity Playworks Plugin Engine:

What we plan to implement

These are features that we have on our roadmap to add to the Unity Playworks Plugin Engine, be sure to check out our release notes when we update Playable to see what new features are available.

Not Supported

Unity Playworks Plugin initializes WebGL 1.0 context by default. It can be changed to WebGL 2 in Settings/Advanced tab (starting from Playworks Plugin 6.0.0).

To make sure Unity Playworks Plugin is able to utilize all your shader code, please try running the game targeting OpenGL ES 2 or OpenGL 3 API.

Below are features we currently do not support:

Shader Lab Features

In this section are displayed all the ShaderLab features that are supported by Playworks Plugin.

Shader Lab Features
ShaderLab Feature Supported
Shader blockYes
Properties blockYes
Fallback blockOnly for ShadowCaster

Subshaders

SubShaders
Feature Supported
SubShader blockYes
PackageRequirements blockNo
SubShader LOD blockYes
SubShader Tags
Feature Supported
SubShader Tags blockYes
RenderPipeline SubShader tagNo
Queue SubShader tagYes
RenderType SubShader tagYes
DisableBatching SubShader tagNo
CanUseSpriteAtlas SubShader tagNo
PreviewType SubShader tagNo
SubShader Commands
Feature Supported
UsePassYes
GrabPassYes

Pass

Pass
Feature Supported
Pass blockYes
Name blockYes
Pass Tags
Feature Supported
Pass Tags blockYes
LightMode tagYes
PassFlags tagNo
RequiteOptions tagNo
Pass Commands
Feature Supported
AlphaToMaskNo
BlendYes
BlendOpYes
ColorMaskYes
ConservativeNo
CullYes
OffsetYes
StencilYes
ZClipYes
ZTestYes
ZWriteYes

#pragma

#pragma
Feature Supported
#pragma target <value> 2.0 - 3.0 (support up to shader model 4.0 starting from Playworks Plugin 6.0.0)
#pragma only_renderers <value> Unity Playworks Plugin needs GLES target shaders
#pragma exclude_renderers <value> Unity Playworks Plugin needs GLES target shaders