Fixed skybox shader

This commit is contained in:
Robert Beckebans 2022-03-12 11:28:34 +01:00
parent 52d20500d7
commit e85851991b
2 changed files with 3 additions and 3 deletions

View file

@ -34,7 +34,7 @@ TextureCube tex : register( t0 );
SamplerState samp0 : register(s0);
struct PS_IN {
float4 position : VPOS;
float4 position : SV_Position;
float3 texcoord0 : TEXCOORD0_centroid;
float4 color : COLOR0;
};

View file

@ -39,8 +39,8 @@ struct VS_IN {
};
struct VS_OUT {
float4 position : POSITION;
float3 texcoord0 : TEXCOORD0;
float4 position : SV_Position;
float3 texcoord0 : TEXCOORD0_centroid;
float4 color : COLOR0;
};
// *INDENT-ON*