public void SetToneMappingProperties(ToneMappingProperties toneMapProperties)
 {
     EnableToneMapping(toneMapProperties.Enabled);
 }
 public override void SetToneMappingProperties(ToneMappingProperties properties)
 {
     Console.WriteLine("[WARNING] - TONE MAPPING IS NOT SUPPORTED ON THE SPRITE RENDERER!");
 }
 public void SetToneMappingProperties(ToneMappingProperties properties)
 {
     RenderManager.Instance.SetToneMappingProperties(properties);
 }
        public override void SetToneMappingProperties(ToneMappingProperties properties)
        {
            if (properties != null)
            {
                m_ToneMappingProperties = properties;

                // Reset current mesh effects with new tone map settings
                foreach (Mesh mesh in m_Meshes)
                {
                    if (mesh.SubMeshes.Count > 0)
                    {
                        foreach (SubMesh subMesh in mesh.SubMeshes)
                        {
                            if (subMesh.RenderEffect != null)
                                subMesh.RenderEffect.SetToneMappingProperties(m_ToneMappingProperties);
                        }
                    }
                }
            }
        }
Beispiel #5
0
 public virtual void SetToneMappingProperties(ToneMappingProperties properties)
 {
     Console.WriteLine("[WARNING] - TONE MAPPING IS NOT SUPPORTED ON THE BASE RENDERER!");
 }