|Project Name||Stars||Downloads||Repos Using This||Packages Using This||Most Recent Commit||Total Releases||Latest Release||Open Issues||License||Language|
|Huge library of matcap PNG textures organized by color|
|Klakspout||583||2||3 months ago||6||August 02, 2021||12||unlicense||C++|
|Spout plugin for Unity|
|📽 Three.js Material which lets you do Texture Projection on a 3d Model|
|Globe||403||1||3 years ago||4||November 03, 2020||7||gpl-3.0||Rust|
|ASCII globe generator|
|Pixelcamera2d||386||7 years ago||6||mit||C#|
|A Pixel Perfect Camera for 2D Games in Unity.|
|FaceMeshFaceGeometry for FaceMesh|
|Gqn Datasets||255||3 years ago||7||apache-2.0||Python|
|Datasets used to train Generative Query Networks (GQNs) in the ‘Neural Scene Representation and Rendering’ paper.|
|Unityruntimepreviewgenerator||246||6 months ago||1||mit||C#|
|Generate preview textures (thumbnails) for your GameObject's or materials on the fly in Unity|
|Raytracedhardshadow||182||3 years ago||7||other||C++|
|DXR based raytraced hard shadow for Unity|
|Metalrendercamera||161||6 years ago||3||apache-2.0||Swift|
|A simple app that grabs raw camera data, converts to textures and renders on screen with Metal.|
A huge library of MatCap textures in PNG and ZMT.
Dynamic Gallery View at https://observablehq.com/d/2c53c7ee9f619740?ui=classic
TLDR; Scroll to bottom of page to explore textures, or access the dynamic gallery created by Lionel Radisson at https://observablehq.com/d/2c53c7ee9f619740?ui=classic
In 3D computer graphics, the appearance of an 3D object depends on several things:
MatCap (Material Capture, also known as LitSphere) are complete materials, including lighting and reflections, so you can add it to an object and not have any need for, well, lighting and reflections. MatCaps allows you to create a surface material and lighting environment simply by painting an object so that it looks like how you want your surface to appear. This opens up all sorts of interesting possibilities for non-photoreal image rendering.
The key to using a MatCap texture is that is is mapped to the object’s normals (which exist in relation to the camera) defining a color for every vertex normal direction relative to the camera, and your material is set to shadeless (because you don’t need lights to have any influence, as they are a part of the MatCap texture). So as the camera moves around the object, the reflections and highlights move around your object (as if the object were moving and not the camera). In other words, if your object were a sphere, no matter how you looked at it, it would look like the matcap sphere (reflections always in the same place, e.g.). But as your object takes non-spherical shapes, thus changing the normals, the material responds as if it were made of the complex material.
MatCap is most commonly used for sculpting, as it gives quick and useful feedback on how an objects shape is changing. It also works with rendering, to an extent (good when you need to do a quick show-off-your-model render and don’t have time to set up any complex lights or materials). It's very cheap, and looks great when the camera doesn't rotate.
The MatCap technique, besides being extremely computationally fast, is a very simple algorithm to implement. Below is a list of some implementations for the most popular tools and frameworks.
// ------------------------------- // Vertex // ------------------------------- vNormal = normalize(vec3(world * vec4(normal, 0.0))); // ------------------------------- // Fragment // ------------------------------- highp vec2 muv = vec2(view * vec4(normalize(vNormal), 0))*0.5+vec2(0.5,0.5); gl_FragColor = texture2D(matcapTexture, vec2(muv.x, 1.0-muv.y));
All textures available in this repository are delivered in 24-bit PNG format (8 bits per channel - without alpha channel) with sRGB colorspace (IEC 61966-2-1:1999). Converting images to sRGB uses the ICC sRGB v2 profiles (sRGB2014.icc). Images do not have embedded ICC profiles, all are removed during automated processing.
You can download each individual artifact from the detail page (see image below), or if you prefer, you can download the full package (grouped by image resolution) from the releases page.
The MatCaps made available in this repository were obtained from various websites and web pages, in particular from the links below and the referenced pages.
Due to the amount of existing material and the naming standard used here (Filename = main colors) it was not possible to maintain the relationship for the original authors of the file. I recommend that after identifying the original image, seek out the original author to give him credit for the work done and for sharing such texture.
Don't worry, Pixologic already gives them out for free. Just not in PNG form.