|
|
@ -200,11 +200,15 @@ public class DirectionalLightShadowRenderer extends AbstractShadowRenderer { |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
protected void setMaterialParameters(Material material) { |
|
|
|
protected void setMaterialParameters(Material material) { |
|
|
|
material.setColor("Splits", splits); |
|
|
|
material.setColor("Splits", splits); |
|
|
|
|
|
|
|
if (fadeInfo != null) { |
|
|
|
|
|
|
|
material.setVector2("FadeInfo", fadeInfo); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
protected void clearMaterialParameters(Material material) { |
|
|
|
protected void clearMaterialParameters(Material material) { |
|
|
|
material.clearParam("Splits"); |
|
|
|
material.clearParam("Splits"); |
|
|
|
|
|
|
|
material.clearParam("FadeInfo"); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|