User Guide Cancel

Lib Bayer - Shader API | Substance 3D Painter

Lib Bayer - Shader API

lib-bayer.glsl

Public Functions: bayerMatrix8

float bayerMatrix8(uvec2 coords) {
return (float(bayer(coords.x, coords.y)) + 0.5) / 64.0;
}
float bayerMatrix8(uvec2 coords) { return (float(bayer(coords.x, coords.y)) + 0.5) / 64.0; }
float bayerMatrix8(uvec2 coords) { 
  return (float(bayer(coords.x, coords.y)) + 0.5) / 64.0; 
} 
 

Get help faster and easier

New user?