b3dBrushShininess

Sets brush shininess/smoothness (0.0=rough/matte, 1.0=shiny/glossy, converted to PBR roughness=1-shininess). Takes brushHandle (brush handle), shininess (smoothness, clamped 0.0-1.0). Returns nothing.

3D Graphics

Parameters & Returns

Parameters

brushHandle Int
shininess Double

Returns

Void

Quick Summary

Sets brush shininess/smoothness (0.0=rough/matte, 1.0=shiny/glossy, converted to PBR roughness=1-shininess). Takes brushHandle (brush handle), shininess (smoothness, clamped 0.0-1.0). Returns nothing.

Technical Exegesis...

Sets brush shininess/smoothness (0.0=rough/matte, 1.0=shiny/glossy, converted to PBR roughness=1-shininess). Takes brushHandle (brush handle), shininess (smoothness, clamped 0.0-1.0). Returns nothing. Validates brush handle, clamps shininess to 0.0-1.0, converts to roughness via inverse relationship (roughness = 1.0 - shininess), stores in brush.roughnessFactor. Roughness controls specular highlight sharpness in PBR rendering.

This function configures surface smoothness for physically based rendering.

Example

Example.bam
; No example implemented yet