mcclim/paint.lisp
A paint carrying signed height above its presentation surface.
Positive heights are raised and negative heights are recessed. Ordinary McCLIM backends see ALBEDO; relief-aware backends may render the height.
Return design's signed displacement in surface units.
A two-stop analytical paint. Geometry and paint remain independent.
Return gradient's normalized coordinate at X,Y.
Return two interpolable shader coordinates and the gradient kind lane.
McCLIM image arrays store straight rgb and alpha. The render target's
blend contract is premultiplied, exactly like the solid paint path.
A paint carrying signed height above its presentation surface. Positive heights are raised and negative heights are recessed. Ordinary McCLIM backends see ALBEDO; relief-aware backends may render the height.
(albedo height)((design relief-design) x y)(transformation (design relief-design))A two-stop analytical paint. Geometry and paint remain independent.
(x1 y1 x2 y2 start-color end-color)(center-x center-y radius start-color end-color)Multiplication and scalar scaling.
(value)The minimum of compatible quantities.
The maximum of compatible quantities.
Subtraction or unary negation.
Addition over compatible quantities.
Division of two represented quantities.
The componentwise square root of a raw value.
Raise a dimensionless value to a dimensionless power.
(gradient x y)Return two interpolable shader coordinates and the gradient kind lane.
(gradient coordinate)(name options &body body)Select and reorder vector components by a designator such as :XYZ or :RGB.
The componentwise absolute value of a raw value.
Constrain a quantity between compatible bounds.
Compare compatible quantities and produce dimensionless values.
The inner product of two vectors.
Interpolate compatible quantities by a scalar amount.
Sample a two-dimensional texture through a sampler at a UV coordinate.
Paint designs evaluated by the direct McCLIM GPU backend.