NormalSourceDescriptor
Defined in: packages/normals/src/descriptor.ts:145
Properties
Section titled “Properties”
optionalbump?:NormalBump
Defined in: packages/normals/src/descriptor.ts:149
Default bump source for regions that don’t specify one. Default 'alpha'.
direction?
Section titled “direction?”
optionaldirection?:NormalDirection
Defined in: packages/normals/src/descriptor.ts:151
Default tilt for regions that don’t specify one. Default 'flat'.
elevation?
Section titled “elevation?”
optionalelevation?:number
Defined in: packages/normals/src/descriptor.ts:157
Default elevation for regions that don’t specify one. Default 0 (ground).
pitch?
Section titled “pitch?”
optionalpitch?:number
Defined in: packages/normals/src/descriptor.ts:153
Default tilt pitch in radians. Default Math.PI / 4.
regions?
Section titled “regions?”
optionalregions?:NormalRegion[]
Defined in: packages/normals/src/descriptor.ts:162
Regions of the source texture. When omitted, the whole texture is treated as a single region inheriting all descriptor defaults.
strength?
Section titled “strength?”
optionalstrength?:number
Defined in: packages/normals/src/descriptor.ts:155
Default gradient strength. Default 1.
version?
Section titled “version?”
optionalversion?:1
Defined in: packages/normals/src/descriptor.ts:147
Reserved for future schema evolution. Currently always 1.