Website powered by

Unity HLSL Shader

I created an HLSL shader code for my ongoing project where I was tasked to create a magical effect. So I have created this semi-transparent magical effect that freezes enemies and traps them in a spell. I have also attached screenshots of the code for the viewer to see its working or follow along.

A preview of the shader. The entire shader is written in Unity's shader lab HLSL.

Material Parameters available for the artist to tweak

Material Parameters available for the artist to tweak

Heres the snippet of Parameters I created for the code.

Heres the snippet of Parameters I created for the code.

Here is the main Fragment shader code

Here is the main Fragment shader code