added mesh rendering
This commit is contained in:
15
funnyassets/gfx_shaders/mesh_shared.slang
Normal file
15
funnyassets/gfx_shaders/mesh_shared.slang
Normal file
@@ -0,0 +1,15 @@
|
||||
#pragma once
|
||||
|
||||
struct VertexOutput
|
||||
{
|
||||
float4 position: SV_Position;
|
||||
float2 uv: TEXCOORD0;
|
||||
};
|
||||
|
||||
struct PushConstants
|
||||
{
|
||||
float4x4 modelMatrix;
|
||||
uint albedoID;
|
||||
uint roughnessID;
|
||||
uint metalnessID;
|
||||
};
|
||||
Reference in New Issue
Block a user