You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
add boardEntity.addComponent('light', {type:'directional', castShadows: true}); to line 88
3.playcanvas.js:29104 Uncaught TypeError: Cannot read properties of null (reading 'width') is found
It appears the shadowCaster camera has no render target...
The text was updated successfully, but these errors were encountered:
Yep, this is in preview and many things are not done. Specially, directional shadow passes and depth/color passes are not in a form to be easily added to the camera passes, and so those don't work. This should be ready for the next minor engine release (working on some of it now)
The new "renderpass" post processing example throws an exception when a shadow casting light is added.
Steps to Reproduce
boardEntity.addComponent('light', {type:'directional', castShadows: true});
to line 883.playcanvas.js:29104 Uncaught TypeError: Cannot read properties of null (reading 'width') is found
It appears the shadowCaster camera has no render target...
The text was updated successfully, but these errors were encountered: