Skip to content

Instantly share code, notes, and snippets.

View ArthurD's full-sized avatar

Arthur D'Antonio ArthurD

View GitHub Profile
@ArthurD
ArthurD / LightProbeRebuilder.cs
Created February 25, 2020 05:45 — forked from keijiro/LightProbeRebuilder.cs
Extracts SH coefficients from light probes, and rebuilds light probes from given SH coefficients.
using UnityEngine;
using UnityEditor;
using System.Collections;
public class LightProbeRebuilderWindow : EditorWindow
{
string text = "Paste extracted coefficients here.";
float multiplier = 1.0f;
[MenuItem("Window/Light Probe Rebuilder")]