Posts

Showing posts with the label fragment-shader

Is there a glColorMask equivalent in SceneKit?

Is there a way to only write certain components of the color into the image buffer in SceneKit like with glColorMask in OpenGL? I tried the SCNMaterial's property .colorBufferWriteMask, but no luck. By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.