Skip to content

Instantly share code, notes, and snippets.

View lopea's full-sized avatar
🐟
blub blub

Javier Sandoval lopea

🐟
blub blub
View GitHub Profile
@lopea
lopea / DataMosh.shader
Created March 2, 2019 02:41
a data moshing effect in Unity3D
Shader "Hidden/DataMosh"{
Properties{
_MainTex ("Main Texture", 2D) = "white"{}
}
CGINCLUDE
#include "Unity3D.cginc"
float3 HCLtoRGB(in float3 HCL)
{
float3 RGB = 0;
if (HCL.z != 0)