PBR Materials Support
EasyTextures is now compatible with PBR. See the examples included to get started.
To learn what is PBR on Second Life, please visit https://wiki.secondlife.com/wiki/PBR_Materials
To apply a material, you can use the UUID of the material
-blueSet
stool;pbr;3;e8d6f6cf-91c1-af76-f272-a50f107cb5f3
If you need to tweak the data of the applied material, you can change the basecolor, normal or matellic. Basic changes, where you only change the materials of face 6
of the prim stool
.
-redSet
stool;pbr_basecolor;6;fbc6551e-05ea-2aad-f643-b82612455b39
stool;pbr_normal;6;cebf98c1-ce8a-a024-baff-86f1e748f2c6
stool;pbr_metallic;6;b63cd68e-3ef2-0a0a-db52-c21d46bf27df
-greenSet
stool;pbr_basecolor;6;2f25ad79-7cde-a0e6-6429-662884ddb3d2
stool;pbr_normal;6;296ebc06-7bc7-7309-63e3-74eae09686f5
stool;pbr_metallic;6;95f969e0-dfca-a2ee-74a1-15b8efd7e661
If you want to change the metallic_factor or the roughness_factor, you could use
// Default values: [ PRIM_GLTF_METALLIC_ROUGHNESS, integer face, string texture, vector repeats, vector offsets, float rotation_in_radians, float metallic_factor, float roughness_factor ]
// Instruction to add to your .config HUD
// Change only the metallic_factor
stool;pbr_metallic;6;95f969e0-dfca-a2ee-74a1-15b8efd7e661,NULL,NULL,NULL,0.1
// Change only the roughness_factor
stool;pbr_metallic;6;95f969e0-dfca-a2ee-74a1-15b8efd7e661,NULL,NULL,NULL,NULL,0.5
// Or change both, by combining the values
stool;pbr_metallic;6;95f969e0-dfca-a2ee-74a1-15b8efd7e661,NULL,NULL,NULL,0.1,0.5
// 0.1 is the metallic_factor, 0.5 is the roughness_factor
The emissive of a material can be changed as well, to do so:
stool;pbr_emissive;6;95f969e0-dfca-a2ee-74a1-15b8efd7e661,NULL,NULL,NULL,0.8
// The emissive value will be set to 0.8
Last updated
Was this helpful?