vasturiano / 3d-force-graph

3D force-directed graph component using ThreeJS/WebGL
https://vasturiano.github.io/3d-force-graph/example/large-graph/
MIT License
4.48k stars 803 forks source link

Shadow for links and nodes #652

Open sbimo007 opened 8 months ago

sbimo007 commented 8 months ago

Hello, I added a spotlight and a ground to my Graph scene, but can't see shadows for links ans nodes i'm wondering if shadows works for Graph elements, because a added a Mesh Geometry to the scene (with network, spotlight and a ground) and get shodows for this Mesh, but not for network elements

I'm getting warnings in console, GL_INVALID_VALUE: Texture dimensions must all be greater than zero warning counts is equal to nodes count in my network,

any help many thanks

vasturiano commented 7 months ago

@sbimo007 could you make a simple example of your case, on https://codesandbox.io/ for instance?