Load Texture Rework Needed

This commit is contained in:
2024-09-27 17:06:02 +02:00
parent 6a8172ab1f
commit cabf9b39d8
8 changed files with 122 additions and 16 deletions

View File

@@ -83,5 +83,7 @@ float4 CelShadingPixelShader(PixelInputType input) : SV_TARGET
// Calculate the final color by combining the texture color with the light intensity and diffuse color.
finalColor = textureColor * diffuseColor * lightIntensity;
return finalColor;
//return finalColor;
return float4(normal * 0.5f + 0.5f, 1.0f);
}