Skip to content

Instantly share code, notes, and snippets.

@digimbyte
digimbyte / BH.shader
Created November 3, 2024 00:18 — forked from MichaelMoroz/BH.shader
VR Schwarzschild black hole shader (works with SPS and SPS-I)
Shader "Misha/Schwartzschild"
{
Properties
{
[Header(Black Hole)]
_EventHorizonRadius("Event Horizon Radius", Range(0.0, 0.5)) = 0.075
[Header(Accretion)]
[HDR] _AccretionColor("Color", Color) = (1,1,1,1)