void Start() { HSLDebugPicker = new icGUIHelpers.Vector3Picker("HSL", 0f, 1f); HSLDebugPicker.setLabels(new string[] { "Hue", "Saturation", "Luminance" }); if (LevelSerializer.isBeingObjectTreeLoaded(this.gameObject)) { return; } this.CreateImageShaderFromPass(); this.gammaLut.SetTargetMat(this.imageShaderMat); }
public void Start() { this.debugBCG = new icGUIHelpers.Vector3Picker("Bright/Contrast/Gamma", 0f, 3f); this.debugBCG.setLabels(new string[] { "Brightness", "Contrast", "Gamma" }); if (LevelSerializer.IsDeserializing) { return; } if (this.targetMat == null && this.renderer != null) { this.targetMat = this.renderer.material; } }
void Start() { HSLDebugPicker = new icGUIHelpers.Vector3Picker("HSL",0f,1f); HSLDebugPicker.setLabels(new string[] { "Hue", "Saturation", "Luminance"}); if (LevelSerializer.isBeingObjectTreeLoaded(this.gameObject)){ return; } this.CreateImageShaderFromPass(); this.gammaLut.SetTargetMat(this.imageShaderMat); }
public void Start() { this.debugBCG = new icGUIHelpers.Vector3Picker("Bright/Contrast/Gamma",0f,3f); this.debugBCG.setLabels(new string[] { "Brightness", "Contrast", "Gamma"}); if (LevelSerializer.IsDeserializing) return; if (this.targetMat == null && this.renderer != null) this.targetMat = this.renderer.material; }