Skip to content
Docs
Open Promoeyes

displacement_map_from

uisset 10× in templates and rigs

A texture drawn from a UI: its `source(factory="ui/scene")` or `html` child, rendered as the displacement map (a grayscale height that really moves the vertices of a subdivided mesh; `displacement-scale` in mm, negative engraves) of the `material` it sits in, or of the screen when it sits directly in a device tag.

displacement_map_from(color_space=linear flip_y=true)

Attributes

color_spacetext`linear` for a data map like this one, `srgb` for colour; unset keeps the source's own.10×
flip_ytrue / false10×

Where it goes

Written under