pixijs / lights

Adds dynamic lighting via deferred shading to PixiJS
https://pixijs.io/lights/docs/index.html
MIT License
198 stars 29 forks source link

pixi v4 compatibility #13

Closed cornop closed 6 years ago

cornop commented 8 years ago

Currently getting Uncaught TypeError: Cannot read property 'registerPlugin' of undefined with latest dev branch of pixi.

englercj commented 8 years ago

Yeah this was an experiment, never really got around to making it into a fully supported library. Probably won't take the time to upgrade it.

Accepting PRs though.

Oza94 commented 8 years ago

@englercj so sad ! Thanks anyway this is great stuff to learn !

Have you used some specific resources to implement this lib? I'm far from your level (for PRs) but I want to learn how I can achieve this :)

englercj commented 8 years ago

I wrote a blog post on my journey of learning the techniques necessary and creating this experiment:

http://englercj.github.io/2016/01/03/pixi-deferred-lighting/

hopewise commented 7 years ago

What's the latest version of pixi to try this package?

mw4ll4c3 commented 7 years ago

It should work against the latest PIXI 3.

englercj commented 7 years ago

What's the latest version of pixi to try this package?

https://github.com/pixijs/pixi-lights/blob/master/package.json#L29

hopewise commented 7 years ago

Thank you

finscn commented 7 years ago

Is there any news about lights plugin for PIXI v4 ?

ivanpopelyshev commented 7 years ago

There was one, month or two ago - I know how to make it ompatible with pixi-display - you'll be able to add lights inside sprites or containers , and they'll be processed later when applying lightmap. I didnt have time to implement it :(

Is that critical for you?

englercj commented 7 years ago

Is there any news about lights plugin for PIXI v4 ?

https://github.com/pixijs/pixi-lights/issues/13#issuecomment-216055982

inspector-ambitious commented 7 years ago

@ivanpopelyshev are you talking about another plugin ? if yes could you share a link please ?

inspector-ambitious commented 7 years ago

In fact nevermind just found it ! https://github.com/pixijs/pixi.js/issues/3360

ivanpopelyshev commented 6 years ago

Done.