Unity Version 2017.1.1f1 or higher
🔗Описание:
Этот код воспроизводит эффект матового стекла в Unity (как показано в DOOM 2k16). Он использует CommandBuffer, подключенный к основной камере, для рендеринга сцены в глобальных rendertextures. Затем для выборки между этими текстурами рендеринга используется маска в оттенках серого, чтобы применить желаемое размытие.
🔗Description:
This code reproduce a frosted glass effect in Unity (as seen in DOOM 2k16). It use a CommandBuffer attached to the main camera to render the scene in global rendertextures. A grayscale mask is then used to sample between these rendertextures in order to apply the desired blur.
📘License:
MIT license
Download link:
https://t.me/arhivunitymaker/50