MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ synthesize_uv

bool MayaFlux::Portal::Graphics::MillSpec::synthesize_uv { true }

Write 0..1 UVs across each ribbon and quad instead of copying the source.

Lets a fragment shader run a gradient, dash or edge falloff along a ribbon. Ignored when the layout carries no texture coordinates.

Point quad corners land in [MILL_POINT_UV_MARKER, +1] instead of [0, 1] (data/shaders/include/mill_shape.glsl), which is how a shared fragment shader tells a point quad from a ribbon or a passthrough triangle. Use mill_is_point() and mill_point_local_uv() rather than testing the threshold directly.

Definition at line 73 of file PrimitiveMill.hpp.

73{ true };

Referenced by MayaFlux::Portal::Graphics::mill_on_host().