Ejemplo n.º 1
0
 /// <summary>
 /// Set depth bias parameters for depth write and compare. Note that the normal offset parameter is not used and will not be saved, as it affects only shadow map sampling during light rendering.
 /// </summary>
 private void SetDepthBias(BiasParameters parameters)
 {
     Runtime.ValidateRefCounted(this);
     Material_SetDepthBias(handle, ref parameters);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Set shadow depth bias parameters.
 /// </summary>
 private void SetShadowBias(BiasParameters parameters)
 {
     Runtime.ValidateRefCounted(this);
     Light_SetShadowBias(handle, ref parameters);
 }
Ejemplo n.º 3
0
 internal static extern void Material_SetDepthBias(IntPtr handle, ref BiasParameters parameters);
Ejemplo n.º 4
0
 internal static extern void Light_SetShadowBias(IntPtr handle, ref BiasParameters parameters);