ektogamat / fake-glow-material-r3f

A fake glow material for react three fiber.
https://r3f-fake-glow-material.vercel.app/
MIT License
140 stars 7 forks source link

Error: Can not resolve #include <colorspace_fragment> #3

Closed nirtamir2 closed 10 months ago

nirtamir2 commented 10 months ago

I run this FakeGlowMaterial and I get an error:

Error: Can not resolve #include <colorspace_fragment>

When I removed the

#include <tonemapping_fragment>
#include <colorspace_fragment>

lines - this worked.

ektogamat commented 10 months ago

Ahh okay. depending on the threejs version your project is running, you need to have different includes. But removing them would not cause any damage. Thanks!