/** * Sets the light to use to cast shadows * * @param light a SpotLight */ public void setLight(SpotLight light) { shadowRenderer.setLight(light); }
shadows.setLight(sl); shadows.setShadowIntensity(0.3f); shadows.setEdgeFilteringMode(EdgeFilteringMode.PCF8);
slsr.setLight(spot); slsr.setShadowIntensity(0.5f); slsr.setShadowZExtend(100);
slsr.setLight(spot); slsr.setEdgeFilteringMode(EdgeFilteringMode.Nearest); slsr.setShadowIntensity(0.6f);
/** * Sets the light to use to cast shadows * * @param light a SpotLight */ public void setLight(SpotLight light) { shadowRenderer.setLight(light); }
slsr.setLight(spotLight); slsr.setEdgeFilteringMode(EdgeFilteringMode.PCF4);