Jump to content

I'm having a hell of a time trying to get NormalMapFilter to work


Retri
 Share

Recommended Posts

I see.

 

Does that mean Normal maps are not planned to be added?

And are displacement map also not usable?

 

Edit: I'm getting an error with the lighting regarding drawMode. l:323 in pixi-lights.js

Is there a working example online I can peek at?

Link to comment
Share on other sites

I see.

 

Does that mean Normal maps are not planned to be added?

And are displacement map also not usable?

 

Edit: I'm getting an error with the lighting regarding drawMode. l:323 in pixi-lights.js

Is there a working example online I can peek at?

I don't plan to fix that filter any time soon, but anyone can do it if they want to.

Displacement filter should work fine.

There is an example of using the pixi-lights plugin in the repo: https://github.com/pixijs/pixi-lights/blob/master/index.html

Make sure you are using 3.0.7 or higher of pixi.js, it is required. Also keep in mind that the plugin is experimental, and basically only supports sprites.

Link to comment
Share on other sites

  • 1 year later...

Heu @xserver,

Trying to use the example on git here : https://github.com/pixijs/pixi-lights/blob/master/index.html

But i have this error poping...

 

AmbientLightShader.js:24 Uncaught TypeError: Cannot read property 'registerPlugin' of undefined at Object.5.../light/LightShader (AmbientLightShader.js:24) at s (_prelude.js:1) at _prelude.js:1 at Object.1../lightSpriteMixin (index:9) at s (_prelude.js:1) at e (_prelude.js:1) at _prelude.js:1

 

Any clue ?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...