it started with a grey lumpso that is twelve weeks i have written about parts and tangents and shader variants for most of them, and i will do the short version of that below, but this post is mainly the other thing. what actua2Aug 23 · 9 min readnixxx19.hashnode.dev
two ways to fake a bumpy surface, and picking the wrong one firstthe last map is the interesting one. the other four change what colour a surface is. this one changes which way the surface appears to be facing, so light hits it as though there are bumps and dents t1Aug 23 · 5 min readnixxx19.hashnode.dev
measuring the thing i brokethe review question on the texture maps was not about the maps. it was, does this slow down sketches that do not use any of it fair question. every lit material now goes through a shader carrying four1Aug 23 · 3 min readnixxx19.hashnode.dev
four more mapsan mtl file can point at five different images for a single material map_Kd is the one everyone knows, the diffuse texture, the actual colours painted on the surface. p5 has supported that for years. 1Aug 23 · 4 min readnixxx19.hashnode.dev
the same fix, from the other directioneverything so far has been about loading a model from a file. but p5 has a second way to make one let myModel = buildGeometry(() => { texture(wood); box(100); texture(metal); sphere(40); }); Aug 23 · 3 min readnixxx19.hashnode.dev