This repository contains GLSL fragment shaders designed for use in TouchDesigner, specifically for UV texture pattern visualization.
A comprehensive UV test pattern featuring:
- 8x8 grid with checkerboard pattern
- UV gradient colors
- Grid lines for precise mapping
- Red border highlighting
- Suitable for detailed UV mapping work
A minimal UV pattern with:
- Clean grid lines
- UV color gradient (Red = U axis, Green = V axis)
- Lightweight and efficient
- Perfect for basic UV visualization
A traditional UV test pattern featuring:
- Color-coded sections (Red, Green, Blue, Yellow)
- 8x8 grid layout
- Corner orientation markers
- UV gradient overlay
- Industry-standard design
- Create a GLSL Material or GLSL TOP
- Load the fragment shader: Copy the contents of any shader file into TouchDesigner's fragment shader editor
- Apply to geometry: Use with any geometry that has proper UV coordinates
- Verify UV mapping: The pattern will reveal how your UV coordinates are mapped
- Grid Visualization: Helps identify UV seams and stretching
- Color Coding: Different sections help track UV orientation
- Border Highlights: Red borders show UV boundaries (0,0) to (1,1)
- Gradient Overlays: Show smooth UV coordinate transitions
These shaders are designed to work with TouchDesigner's GLSL implementation:
- Use standard TouchDesigner uniform conventions
- Compatible with
vUVinput coordinates - Output to
fragColorfor proper rendering - No external dependencies required
- UV Mapping Validation: Use these patterns to check for UV distortion
- Texture Alignment: Verify texture coordinates before applying final textures
- Seam Detection: Grid lines help identify UV seam issues
- Scale Testing: Adjust grid size for different detail levels