adrianhajdin / project_threejs_ai

https://jsmastery.pro
897 stars 267 forks source link

Backdrop element error #2

Open M-Destiny opened 1 year ago

M-Destiny commented 1 year ago

as soon as backdrop is enabled error is thrown Uncaught Error: R3F: Div is not part of the THREE namespace! Did you forget to extend? See: https://docs.pmnd.rs/react-three-fiber/api/objects#using-3rd-party-objects-declaratively

pradeepthsjain commented 1 year ago

As soon as i click on ai full or ai logo button my screen goes white and i can see errors on the server terminal and even in inspect console. Screenshot (8) ![Screenshot (9)](https://github.com/adrianhajdin/project_threejs_ai/assets/115602871/712d6f9b-014d-4565-a1fd Screenshot (10) -8d91beeafb68) Screenshot (11) Can someone please help me out with this....?

Adnaanlegend commented 10 months ago

as soon as backdrop is enabled error is thrown Uncaught Error: R3F: Div is not part of the THREE namespace! Did you forget to extend? See: https://docs.pmnd.rs/react-three-fiber/api/objects#using-3rd-party-objects-declaratively

You need to use accumulatedShadows , You can't render a div . As it is not a part of Three