public interface KShadowMappedBasicBuilderType extends KShadowBuilderType
Modifier and Type | Method and Description |
---|---|
KShadowMappedBasic |
build() |
void |
setDepthBias(float b)
Set the depth bias value.
|
void |
setMapDescription(KShadowMapDescriptionBasic m)
Set the shadow map description.
|
setMinimumFactor
KShadowMappedBasic build()
void setMapDescription(KShadowMapDescriptionBasic m)
Set the shadow map description. This controls the physical aspects of the shadow map such as the size, precision, and filter settings.
m
- The description.void setDepthBias(float b)
Set the depth bias value. This is a small value added to the depth of all shadow casting objects to alleviate "shadow acne" caused by objects shadowing themselves. A value of 0.001f tends to work well for most scenes, and is the default.
b
- The depth bias.Copyright © 2015 <code@io7m.com> http://io7m.com