![]() |
Lysa
0.0
Lysa 3D Engine
|
A physically-based rendering (PBR) material.
Inherits from: Material
Lua full name: lysa.StandardMaterial
Properties | |
| float4 | albedo_color |
| Base color (RGBA) applied when no diffuse texture is set. | |
| any|nil | diffuse_texture |
| Diffuse/albedo texture info, or nil if unused. | |
| any|nil | normal_texture |
| Normal map texture info, or nil if unused. | |
| number | metallic_factor |
| Metallic factor in [0, 1]; 0 = dielectric, 1 = full metal. | |
| any|nil | metallic_texture |
| Metallic texture info, or nil if unused. | |
| number | roughness_factor |
| Roughness factor in [0, 1]; 0 = mirror-smooth, 1 = fully rough. | |
| any|nil | roughness_texture |
| Roughness texture info, or nil if unused. | |
| any|nil | emissive_texture |
| Emissive texture info, or nil if unused. | |
| float3 | emissive_factor |
| Emissive color multiplier (RGB). | |
| number | emissive_strength |
| Scalar multiplier applied on top of emissive_factor. | |
| number | normal_scale |
| Scale factor applied to the normal map's XY components (default 1.0). | |
| float4 albedo_color |
Base color (RGBA) applied when no diffuse texture is set.
| any|nil diffuse_texture |
Diffuse/albedo texture info, or nil if unused.
| any|nil normal_texture |
Normal map texture info, or nil if unused.
| number metallic_factor |
Metallic factor in [0, 1]; 0 = dielectric, 1 = full metal.
| any|nil metallic_texture |
Metallic texture info, or nil if unused.
| number roughness_factor |
Roughness factor in [0, 1]; 0 = mirror-smooth, 1 = fully rough.
| any|nil roughness_texture |
Roughness texture info, or nil if unused.
| any|nil emissive_texture |
Emissive texture info, or nil if unused.
| float3 emissive_factor |
Emissive color multiplier (RGB).
| number emissive_strength |
Scalar multiplier applied on top of emissive_factor.
| number normal_scale |
Scale factor applied to the normal map's XY components (default 1.0).