- Moved every resource files to the <Assets/> directory - We now use the argc, argv, from main so the Engine responds if a scene file is opened by it - Fixed relative paths <../../> problem, now we use the <Asets/> path
19 lines
No EOL
362 B
HLSL
19 lines
No EOL
362 B
HLSL
struct VertexOut
|
|
{
|
|
float2 TexChoord : TEXCOORD;
|
|
float4 Position : SV_Position;
|
|
};
|
|
|
|
cbuffer cb_ViewProjection : register(b0)
|
|
{
|
|
row_major matrix viewProjection;
|
|
}
|
|
|
|
VertexOut main(float4 InPosition : POSITION, float2 InTexChoord : TEXCOORD)
|
|
{
|
|
VertexOut vso;
|
|
vso.Position = mul(float4(InPosition), viewProjection);
|
|
vso.TexChoord = InTexChoord;
|
|
|
|
return vso;
|
|
} |