u/betsnaker

Finally cracked high-end glass refraction in R3F

> I’ve been obsessed with luxury e-commerce visuals lately. The goal was to hit that 60fps mark while keeping complex IOR (1.48) and nested liquid geometry.

> Tech stack: > * Custom MeshPhysicalMaterial for the bottle.

> * Procedural CanvasTexture for the labels (Aether, Obsidian, etc.) to save on draw calls.

> * React Three Fiber + TSX.

> I’ve documented the whole process and put together a massive set of 400+ physical components for my own projects.

> If anyone is struggling with glass/liquid shaders for their clients — I’m happy to share the source code and the full library. >

> Just drop a comment or DM me if you want to check it out! Would love to hear your thoughts on the cap ribbing highlights.

>

u/betsnaker — 16 hours ago