Exam Done

This commit is contained in:
2025-01-13 17:12:23 +01:00
parent 5e28e5fff4
commit 0d556f12b4
29 changed files with 837 additions and 59 deletions

View File

@@ -1,5 +1,6 @@
float4x4 gWorldViewProj : WorldViewProjection;
float4x4 gWorldMatrix : WorldMatrix;
SamplerState gSampleState : SampleState;
texture2D gDiffuseMap : DiffuseMap;
@@ -79,7 +80,7 @@ VS_OUTPUT VS(VS_INPUT input){
}
float4 PS(VS_OUTPUT input) : SV_TARGET{
return gDiffuseMap.Sample(samPoint, input.TexCoord);
return gDiffuseMap.Sample(gSampleState, input.TexCoord);
}