virtual-cast / babylon-mtoon-material

Unity MToon Shader WebGL porting to babylon.js.
https://virtual-cast.github.io/babylon-mtoon-material/?shadow
MIT License
61 stars 17 forks source link

Uncaught TypeError: a.PrePassConfiguration is not a constructor #99

Closed wilfrem closed 2 years ago

wilfrem commented 2 years ago

code: https://codepen.io/wilfrem/pen/zYWpxrB

error summary

When exec new MToonMaterial(), MToonMaterial access not exported member PrePassConfiguration.

how to reproduce

  1. open the codepen.
  2. check console.
yamayuski commented 2 years ago

:tada: This issue has been resolved in version 4.0.6 :tada:

The release is available on:

Your semantic-release bot :package::rocket: