Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/konyshevartem/unity-shaders-study

Project to study shader basics
https://github.com/konyshevartem/unity-shaders-study

box-blur c-sharp chromatic-aberration distortion hlsl image-effects portal raymarching raytracing shader shaderlab shaders stencil-buffer unity urp volumetric-lighting

Last synced: about 1 month ago
JSON representation

Project to study shader basics

Awesome Lists containing this project

README

        

# unity-shaders-study
Project to study shader basics

## Magic Cube

Use stencil buffer to mask out objects inside cube.

![](Demo/magic_cube.gif)

## Portal Effect

Use stencil buffer and z-order to achieve effect of object going inside portal.

![](Demo/portal.gif)

## Distortion Image Effect

Use distortion map to offset uv of rendered image.

![](Demo/distortion.gif)

## Box Blur

Simple box blur - mean of current pixel and its neighbours.

![](Demo/blur.png)

## Chromatic Aberration

Sample value for each color channel separately adding offset

![](Demo/chromatic_aberration.png)