Skip to content

Instantly share code, notes, and snippets.

View jangxx's full-sized avatar
🖥️
Probably coding rn

Jan Scheiper jangxx

🖥️
Probably coding rn
View GitHub Profile
@pema99
pema99 / WorldPositionFromDepth.shader
Created September 15, 2023 19:24
WorldPositionFromDepth thx d4rkpl4y3r and lox
Shader "Unlit/GridAllocation"
{
SubShader
{
Tags { "Queue" = "Overlay" }
ZTest Always
Pass
{
CGPROGRAM
@lyuma
lyuma / SimpleOSC.cs
Created February 24, 2022 05:45
Simple single-file OSC library with all base and extended types defined in OSC 1.1, bundle support and an integrated UDP sender and receiver.
/* SimpleOSC for C#, version 0.1
Copyright (c) 2022 Lyuma <[email protected]>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
@bgolus
bgolus / WorldNormalFromDepthTexture.shader
Last active March 5, 2025 00:57
Different methods for getting World Normal from Depth Texture, without any external script dependencies.
Shader "WorldNormalFromDepthTexture"
{
Properties {
[KeywordEnum(3 Tap, 4 Tap, Improved, Accurate)] _ReconstructionMethod ("Normal Reconstruction Method", Float) = 0
}
SubShader
{
Tags { "RenderType"="Transparent" "Queue"="Transparent" }
LOD 100