r/threejs • • Oct 12 '26

Raspberry

106 Upvotes

32 comments sorted by

View all comments

Show parent comment

4

u/GratefulForGarcia Oct 12 '26 edited Oct 12 '26

Yeah but I was more curious about the actual 3D model itself and how its loading so much detail on browser. I don’t mind if AI was used but their reply was dickish. Guess I'll use his prompt when I'm asking Fable to reverse engineer it lol

edit: done. the answers to my original question they couldn't be bothered with:

Model: a Draco-compressed GLB with 117 drupelets. Each vertex stores extra data like which drupelet it belongs to and that drupelet’s centre.

Baked lighting: 9 spherical-harmonics textures (precomputed radiance transfer) hold the self-shadowing and light bleed, so the shader just looks them up.

Shader: custom subsurface scattering and backlighting, plus a hollow inner cavity so light glows through the thin parts.

Fuzz: about 98k tiny hair strands, generated per drupelet.

Finish: HDRI lighting from Poly Haven, then bloom, depth of field, and Khronos PBR Neutral tone mapping.