Get PBR values when applied via PRIM_RENDER_MATERIAL
Sarmidnightblue Resident
When an object uses
PRIM_RENDER_MATERIAL
in llSetPrimitiveParams
to apply PBR material, the values of the applied material cannot be fetched using PRIM_GLTF_BASE_COLOR
, PRIM_GLTF_NORMAL
, PRIM_GLTF_METALLIC_ROUGHNESS
, and PRIM_GLTF_EMISSIVE
parameters. This seems to defeat the purpose to being able to applied material using single key, and be able to fetch each part of the material individually.
The reason behind on fetching each individual parameter related to PBR is to store the current values related to PBR of an object, which later can be re-applied back to the object.
Log In