This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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")] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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")] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
optimized-ggx.glsl | |
This file describes several optimizations you can make when creating a GGX shader. | |
AUTHOR: John Hable | |
LICENSE: | |
This is free and unencumbered software released into the public domain. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Shader "Unlit/UnlitCastShadow" | |
{ | |
Properties | |
{ | |
_MainTex("Texture", 2D) = "white" {} | |
} | |
CGINCLUDE | |
#include "UnityCG.cginc" | |
struct appdata |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class FGlowShader : FShader | |
{ | |
private float _glowAmount; | |
private Color _glowColor; | |
public FGlowShader(float glowAmount,Color glowColor) : base("GlowShader", Shader.Find("Futile/Glow")) | |
{ | |
_glowAmount = glowAmount; | |
_glowColor = glowColor; | |
needsApply = true; |