fuckingtech/public/assets/glsl/lygia/lighting/shadingData/shadingData.hlsl
Elias Rhouzlane bf76c6b086 fix: code
2025-04-06 17:23:52 +02:00

34 lines
No EOL
569 B
HLSL

/*
contributors: Shadi El Hajj
description: Structure to hold shading variables
license: MIT License (MIT) Copyright (c) 2024 Shadi EL Hajj
*/
#ifndef STR_SHADING_DATA
#define STR_SHADING_DATA
struct ShadingData {
float3 V;
float3 N;
float3 H;
float3 L;
float3 R;
float NoV;
float NoL;
float NoH;
float roughness;
float linearRoughness;
float3 diffuseColor;
float3 specularColor;
float3 energyCompensation;
float3 directDiffuse;
float3 directSpecular;
float3 indirectDiffuse;
float3 indirectSpecular;
};
#endif