tengbao / vanta

Animated 3D backgrounds for your website
http://vantajs.com/
MIT License
5.53k stars 1.03k forks source link

Colors of the VANTA.FOG from official Vanta's website dont look same on my website #168

Open EngineerMonkey404 opened 1 year ago

EngineerMonkey404 commented 1 year ago

Hello! I'm using same settings on Vanta's website and on my website but colors dont look same.

VANTA.FOG({ el: "#mainBlock", mouseControls: true, touchControls: true, gyroControls: false, minHeight: 200.00, minWidth: 200.00, highlightColor: 0x79ff, midtoneColor: 0xfffde, lowlightColor: 0xfd7f2, baseColor: 0x4b4b5c, blurFactor: 0.43, speed: 0.40 })

Thanks for help!

cs7eric commented 1 year ago

it same as my problem, it may be the version of three.js, i lowered its version,and it works well you can do as it, pnpm uninstall three and pnpm add three@^0.134.0 pnpm install