Three.js object self shadow itself depending on geometry
shader, shadow, three.js
Solution
ie. Actually it is a very simple setup. The THREE.Object3D has two attributes `castShadow` and `receiveShadow` You can achieve the effect you are looking for (ie. self-shadowing) by setting both to `true`
Problem
I have playing a little with clara.io and i want to reproduce an image done with it. I have searched the web for days looking up to reproduce what they call "Realistic" rendering. As you can see on the image the six round part have they own shadows on the (one piece) brick from multiple lights sources. I have no idea how they done that, if it is a simple setup, or a complex shader. the best i can do is that and i have no idea how to proceed to make and object shadowing itself depending of it's geometry. any trails ?