removed the comment and returned a final modification to the method.
This commit is contained in:
parent
f016469933
commit
c2219ecce5
@ -204,7 +204,7 @@ public abstract class AbstractShadowRenderer implements SceneProcessor, Savable,
|
||||
*
|
||||
* @param postShadowMat
|
||||
*/
|
||||
protected void setPostShadowMaterial(Material postShadowMat) {
|
||||
protected final void setPostShadowMaterial(Material postShadowMat) {
|
||||
this.postshadowMat = postShadowMat;
|
||||
postshadowMat.setFloat("ShadowMapSize", shadowMapSize);
|
||||
for (int i = 0; i < nbShadowMaps; i++) {
|
||||
|
@ -136,7 +136,6 @@ public class DirectionalLightShadowRenderer extends AbstractShadowRenderer {
|
||||
@Override
|
||||
protected void updateShadowCams(Camera viewCam) {
|
||||
|
||||
// it needs to support for editors
|
||||
if (light == null) {
|
||||
logger.warning("The light can't be null for a " + getClass().getName());
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user