SceneKit painting on texture with texture coordinates
问题 I have a Collada model that I load into SceneKit. When I perform a hittest on the model I am able to retrieve the texture coordinates of the model that was hit. With these texture coordinates I should be able to replace texture coordinates with a color. So this way I should be able to draw on the model Correct me if I am wrong so far. I read a lot of articles till now but I just don't get my shaders right. ( Though I did get some funky effects ;-) My vertex shader : precision highp float;