public void SetPresetRefraction(IndexesOfRefraction preset) { presetRefraction = preset; }
private float n; // index of refraction // Start is called before the first frame update void Awake() { presetRefraction = IndexesOfRefraction.WINDOW_GLASS; n = 1.52f; }