mirror of
https://github.com/overte-org/overte.git
synced 2025-04-26 22:36:18 +02:00
7 lines
244 B
GLSL
7 lines
244 B
GLSL
layout(location=2) in vec3 _normalWS;
|
|
|
|
float getProceduralFragment(inout ProceduralFragment proceduralData) {
|
|
proceduralData.normal = normalize(_normalWS);
|
|
proceduralData.diffuse = 0.5 * (proceduralData.normal + 1.0);
|
|
return 0.0;
|
|
}
|