ShadowImpact icon indicating copy to clipboard operation
ShadowImpact copied to clipboard

ShadowImpact and impact++ ?

Open arakash92 opened this issue 12 years ago • 2 comments

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.

arakash92 avatar Oct 09 '13 06:10 arakash92

Hi, could you paste the code snippet where you call the drawShadowMap method? :)

fourty2 avatar Oct 09 '13 07:10 fourty2

Sure thing.

draw: function() {
        // Draw all entities and backgroundMaps
        this.parent();

        this.lightManager.drawLightMap();
        this.drawEntities();
        this.lightManager.drawShadowMap();
        this.drawEntities();
    }

arakash92 avatar Oct 09 '13 18:10 arakash92