ShadowImpact
ShadowImpact copied to clipboard
ShadowImpact and impact++ ?
I'm using the impact++ library/plugin and tried to implement ShadowImpact but it seems I'm not able to get it to work correctly.
Has anyone tried it? and if so, did it work?
Seems like the ig.game.drawEntities method isn't drawing my entities after I run the this.lightManager.drawShadowMap(); method.
Hi, could you paste the code snippet where you call the drawShadowMap method? :)
Sure thing.
draw: function() {
// Draw all entities and backgroundMaps
this.parent();
this.lightManager.drawLightMap();
this.drawEntities();
this.lightManager.drawShadowMap();
this.drawEntities();
}