Several cross products and a few dot products later, I have what appears to be a proper camera space coordinates setup for rendering #matcap textures. If the stakes are about as low as the computing power, I might still use the magic number approach for realtime implementations for reduced calculation load. πŸ˜…

Blender file can be downloaded here: https://github.com/jeinselen/Blender-NodeKit/blob/main/Launch_NodeKit/MatNodes-Matcap.blend

Technical art support question! How do you calculate #matcap mapping?

I used a cross product of the surface normal and view vector on a Unity project a few years ago, and it works in #Blender…but the perspective distortion ends up cropping some of the edges. I hacked together a slightly improved version that uses magic numbers and the Z component, but that can't be correct. πŸ˜…

Attached images: matcap source, #blender3d material nodes setup (with hacky fix selected), and render.

I'm quite happy with this Synthwave #matcap I made. It's quite soothing when I have to do troublesome surfacing at work. 😎 I made it for #Rhino3D but it also works in #Blender3D so feel free to use it! πŸ’™πŸ’œ
I forgot matcaps on blender are a thing
#b3d #blender #blender3D #matcap #gameart

RT Ksenia Kondrashova
#genuary16 as an excuse to publish this one
Cheap way to turn @threejs primitive to disco ball
- instanced planes w/ matcap material
- positions & normals taken from original geometry merged vertices
Hosted on @CodePen
#genuary #threejs #matcap #codepen
https://codepen.io/ksenia-k/pen/ZEjJxWQ

 https://twitter.com/uuuuuulala/status/1614864864106917888

Three.js geometries as disco ball

#genuary16 - Reflection of a reflection Turning Three.js primitives to the disco ball: - mirrors are done instanced plane elements w/ matcap material ...

CodePen
vvvv Tutorial | MATCAP basic

YouTube