Example #1
0
        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);
        }
Example #2
0
        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);
        }
Example #4
0
        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;
        }