Sep
16
2016

Grayscale Image Effect with Exclude Layers

grayscale-image-effect-exclude-layers

Testing grayscale image effect with added ExcludeLayers option (*just took the script parts from CameraMotionBlur effect, since it supports excluding layers)

Instructions:
– Attach the script below to your camera *You need to import default effects package first (Assets/Import Package/Effects)
– Select excludeLayers (by default its Nothing)
– Set your excluded gameobjects to that layer

Shader source:
https://github.com/UnityCommunity/UnityLibrary/blob/master/Assets/Shaders/ImageEffects/GrayscaleLayers.cs


4 Comments + Add Comment

Leave a comment

@unitycoder_com

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.