# Custom postprocessing : grayscale

**URL:** <https://forum.babylonjs.com/t/custom-postprocessing-grayscale/33174>\
**Category:** Demos and projects\
**Tags:** postprocessing\
**Created:** [August 19, 2022, 3:13am UTC](https://forum.babylonjs.com/t/custom-postprocessing-grayscale/33174 "2022-08-19T03:13:21Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![musk](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/musk/32/17156_2.png) [@musk](https://forum.babylonjs.com/u/musk)\
**Post date:** [September 1, 2022, 8:48am UTC](https://forum.babylonjs.com/t/custom-postprocessing-grayscale/33174/5 "2022-09-01T08:48:06Z")

</div>

Do you mean to use transition effects commonly used in videos like this ?

> [@Scene that Fades in](https://forum.babylonjs.com/t/scene-that-fades-in/26667/5):
>
> Or: function fadeInScene() { Effect.ShadersStore['fadePixelShader'] = 'precision highp float;' + 'varying vec2 vUV;' + 'uniform sampler2D textureSampler; ' + 'uniform float fadeLevel; ' + 'void main(void){' + 'vec4 baseColor = texture2D(textureSampler, vUV) \* fadeLevel;' + 'baseColor.a = 1.0;' + 'gl\_FragColor = baseColor;' + '}' let fadeLevel = 1.0 const postProcess = new PostProcess('Fade', 'fade', ['fadeLevel'], null, 1.0, c…

---

_[View the full topic](https://forum.babylonjs.com/t/custom-postprocessing-grayscale/33174)._
