works great, although it only accepts one image? i have a shader that samples a color ramp and a noise texture so it would be helpful to have more in the future
Post
Replies
Boosts
Views
Activity
you were right about the ballooning at the equator, i figured it out after a few days though
normal map core image filter:
http://flexmonkey.blogspot.com/2016/04/creating-procedural-normal-maps-for.html
convert to metal
https://ikyle.me/blog/2022/creating-a-coreimage-filter-with-a-metal-kernel
and passing it to the shader by wrapping it like:
let imageProperty = SCNMaterialProperty(contents: normalMapCGImage)
material.setValue(imageProperty, forKey: "normalMap")
after i posted this i asked around and normal maps seem to be the unanimous answer
however im not sure how to implement them. i cant use blender because the text is meant to be programmatically generated. i read that i could create a normal map on the fly and then use that but im still figuring out how to make it work with my shader (the material + light source). i also discovered "add normals" which by default gives a disco ball effect to a mesh as well
is there an update on this? i think the intended functionality is that using a song request from MusicKit you should be able to create a waveform/visualizer based on the sound data? sort of like soundcloud's app
so is it better to relate an album in our own database to an ISRC rather than an ID? it seems like albums dont return ISRC's though