Example #1
0
        internal void Validate(WaterfallRenderingModuleParameters parameters)
        {
            Refraction.Validate(parameters.RefractionParameters);

            RenderPixelLights = parameters.RenderPixelLights;
            FarClipPlane      = parameters.FarClipPlane;
            AllowMSAA         = parameters.AllowMSAA;
            AllowHDR          = parameters.AllowHDR;
            SortingLayerID    = parameters.SortingLayerID;
            SortingOrder      = parameters.SortingOrder;

            MeshMask.Validate(parameters.MeshMaskParameters);
        }
Example #2
0
        internal void Validate(WaterRenderingModuleParameters parameters)
        {
            Refraction.Validate(parameters.RefractionParameters);
            RefractionPartiallySubmergedObjects.Validate(parameters.RefractionPartiallySubmergedObjectsParameters);
            Reflection.Validate(parameters.ReflectionParameters);
            ReflectionPartiallySubmergedObjects.Validate(parameters.ReflectionPartiallySubmergedObjectsParameters);

            RenderPixelLights = parameters.RenderPixelLights;
            FarClipPlane      = parameters.FarClipPlane;
            AllowMSAA         = parameters.AllowMSAA;
            AllowHDR          = parameters.AllowHDR;
            SortingLayerID    = parameters.SortingLayerID;
            SortingOrder      = parameters.SortingOrder;
            ReflectionZOffset = parameters.ReflectionZOffset;
            ReflectionYOffset = parameters.ReflectionYOffset;

            MeshMask.Validate(parameters.MeshMaskParameters);
        }