You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
359 B
17 lines
359 B
struct TerrainLitSurfaceData
|
|
{
|
|
float3 albedo;
|
|
float3 normalData;
|
|
float smoothness;
|
|
float metallic;
|
|
float ao;
|
|
};
|
|
|
|
void InitializeTerrainLitSurfaceData(out TerrainLitSurfaceData surfaceData)
|
|
{
|
|
surfaceData.albedo = 0;
|
|
surfaceData.normalData = 0;
|
|
surfaceData.smoothness = 0;
|
|
surfaceData.metallic = 0;
|
|
surfaceData.ao = 1;
|
|
}
|