summaryrefslogtreecommitdiff
path: root/src/new_render/pbr.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/new_render/pbr.h')
-rw-r--r--src/new_render/pbr.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/new_render/pbr.h b/src/new_render/pbr.h
index 914975b..0aa9dfe 100644
--- a/src/new_render/pbr.h
+++ b/src/new_render/pbr.h
@@ -36,7 +36,7 @@ typedef struct PBR_Params {
Vec3 albedo;
f32 metallic;
f32 roughness;
- f32 ao;
+ f32 ambient_occlusion;
} PBR_Params;
typedef struct PBR_Textures {
@@ -48,10 +48,13 @@ typedef struct PBR_Textures {
TextureHandle ao_map;
} PBR_Textures;
+
// --- Internal
typedef struct MaterialMap MaterialMap;
+Material PBRMaterialDefault();
+
GPU_Renderpass* PBR_RPassCreate();
GPU_Pipeline* PBR_PipelineCreate(GPU_Renderpass* rpass);