-
Hello there, I'm using a custom shader to render points of a buffer geometry, but the last points are not getting the right color. I'm also passing an attribute for controlling the point size, it does not work either... (I've changed to a fixed point size to post the example below) https://codesandbox.io/s/admiring-meitner-ykdjb?file=/src/App.js Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
i just see a blank screen. but in any case, i you'll get faster response in threejs discourse/discord, it doesn't seem r3f related. btw you're using old outdated r3f, the namesspaces are @react-three/fiber and @react-three/drei. |
Beta Was this translation helpful? Give feedback.
-
try "const NUM = (pts + 1) * (pts + 2)" if you want the center dots to be blue |
Beta Was this translation helpful? Give feedback.
try "const NUM = (pts + 1) * (pts + 2)" if you want the center dots to be blue