![]() |
Lysa
0.0
Lysa 3D Engine
|
Material parameters packed into a GPU-ready structure.
Public Attributes | |
| float4 | albedoColor {0.9f, 0.0f, 0.6f, 1.0f} |
| Base (albedo) color. More... | |
| uint32 | pipelineId |
| Pipeline identifier used to select the correct render pipeline. More... | |
| int | transparency {0} |
| Transparency mode (cast of Transparency enum) More... | |
| float | alphaScissor {0.1f} |
| Alpha cutoff threshold. More... | |
| float | normalScale {1.0f} |
| Normal-map intensity scale. More... | |
| uint32 | parametersIndex {0} |
| Base index into the shader material parameters SSBO. More... | |
| uint32 | parametersCount {0} |
| Number of float4 parameters in the SSBO for this material. More... | |
| float | metallicFactor {0.0f} |
| PBR metallic factor. More... | |
| float | roughnessFactor {1.0f} |
| PBR roughness factor. More... | |
| float4 | emissiveFactor {0.0f, 0.0f, 0.0f, 1.0f} |
| Emissive color (RGB) and strength (A) More... | |
| TextureInfoData | diffuseTexture {} |
| Diffuse/albedo texture slot. More... | |
| TextureInfoData | normalTexture {} |
| Normal-map texture slot. More... | |
| TextureInfoData | metallicTexture {} |
| Metallic texture slot. More... | |
| TextureInfoData | roughnessTexture {} |
| Roughness texture slot. More... | |
| TextureInfoData | emissiveTexture {} |
| Emissive texture slot. More... | |
| float4 albedoColor {0.9f, 0.0f, 0.6f, 1.0f} |
Base (albedo) color.
| float alphaScissor {0.1f} |
Alpha cutoff threshold.
| TextureInfoData diffuseTexture {} |
Diffuse/albedo texture slot.
| float4 emissiveFactor {0.0f, 0.0f, 0.0f, 1.0f} |
Emissive color (RGB) and strength (A)
| TextureInfoData emissiveTexture {} |
Emissive texture slot.
| float metallicFactor {0.0f} |
PBR metallic factor.
| TextureInfoData metallicTexture {} |
Metallic texture slot.
| float normalScale {1.0f} |
Normal-map intensity scale.
| TextureInfoData normalTexture {} |
Normal-map texture slot.
| uint32 parametersCount {0} |
Number of float4 parameters in the SSBO for this material.
| uint32 parametersIndex {0} |
Base index into the shader material parameters SSBO.
| uint32 pipelineId |
Pipeline identifier used to select the correct render pipeline.
| float roughnessFactor {1.0f} |
PBR roughness factor.
| TextureInfoData roughnessTexture {} |
Roughness texture slot.
| int transparency {0} |
Transparency mode (cast of Transparency enum)