24 lines
289 B
Plaintext
24 lines
289 B
Plaintext
#pragma once
|
|
#include "shader_base.h"
|
|
|
|
struct VertexOutput
|
|
{
|
|
float4 position: SV_Position;
|
|
float2 uv: TEXCOORD0;
|
|
};
|
|
|
|
DECLARE_CONSTANTS()
|
|
{
|
|
float4x4 modelMatrix;
|
|
uint albedoID;
|
|
uint roughnessID;
|
|
uint metalnessID;
|
|
};
|
|
|
|
DECLARE_CBUFFER(0)
|
|
{
|
|
float4x4 projection;
|
|
};
|
|
|
|
DECLARE_TEXTURES(1)
|