Skip to content
Docs
Open Promoeyes

normal_map_from

uisset 2× in templates and rigs

A texture drawn from a UI: its `source(factory="ui/scene")` or `html` child, rendered as the tangent-space normal map of the `material` it sits in, or of the screen when it sits directly in a device tag. An `html` with `relief=normal` derives one from its own page.

normal_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.2×
flip_ytrue / false2×

Where it goes

Written under