When the dinosaurs roamed the earth and I was a #codemonkey and had to earn a crust bit flipping...
... I have developed eleventh commandment. Purely because of hours(days/weeks) of wasted time, chasing bugs that were not there.
The 11th commandment is;
👉 CHECK YOUR DATA 1ST👈
And so, I have burned two full compute cycles, trying to render a skull with the interior 'illuminated' with no light (0.0) on the interior faces.
The problem: Back-face darkening only works for faces pointing AWAY from camera. But inside a hollow object, the far wall faces TOWARD you.
We need the original geometric approach - but it failed for concave meshes.
When in #Blender (a reminder I have nearly 0 working knowledge with it), I found that both the inner and outer faces are identical.
The solution, while hacky, is entirely workable. Esp. since the skull object will be small when rendered.
Create a small sphere INSIDE the skull and because its a different object, we can assign 0.0 darkening to it.
#3d #3dprogramming #vibecode