pmndrs / drei

🥉 useful helpers for react-three-fiber
https://drei.pmnd.rs/
MIT License
7.84k stars 641 forks source link

Cloud image file TIME_OUT #1666

Open godwinpinto opened 9 months ago

godwinpinto commented 9 months ago

Problem description:

I am getting error while integrating clouds.

Relevant code:

<Cloud segments={40} bounds={[10, 2, 2]} volume={10} color="orange" />

Suggested solution:

I looked as the error logs. Looks like https://raw.githubusercontent.com/pmndrs/drei-assets/9225a9f1fbd449d9411125c2f419b843d0308c9f/cloud.png is missing

drcmda commented 9 months ago

seems to load for me, but in any case, copy the cloud into your /public dir and use <Canvas texture={useTexture("cloud.png")} that's the safest and you wouldn't be beholden to fragile cdns.

ps, if you're using windows there are reports that anti virus is going rogue and blocking random web assets.