question about expected behaviour when applying PRIM_RENDER_MATERIAL
needs info
Apopsy Hax
I'm confused now.. when scripting I experienced, that any PBR override about the alpha was reset when applying PRIM_RENDER_MATERIAL..
but suddenly today it doesn't reset anymore it keeps the override.
so what is now the expected behaviour. will overrides be kept when using PRIM_RENDER_MATERIAL or not?
Log In
Maestro Linden
needs info
Looking at https://wiki.secondlife.com/wiki/GLTF_Overrides , there's this information:
"When setting PRIM_RENDER_MATERIAL on a face, most of the glTF overrides will be cleared on that face, with the exception of texture transforms (repeats, offsets, and rotation_in_radians)."
If you're setting PRIM_RENDER_MATERIAL to a different material (or using one of the related functions like llSetRenderMaterial), it should reset an override such as alpha from PRIM_GLTF_BASE_COLOR. If you're seeing that overrides are preserved unexpectedly when changing materials, could you please attach a script that demonstrates the behavior?