Skip to content

Commit

Permalink
Added displacement map to built in ShaderSets.
Browse files Browse the repository at this point in the history
  • Loading branch information
robertosfield committed Jan 9, 2025
1 parent 0510346 commit e75d3f7
Show file tree
Hide file tree
Showing 4 changed files with 34,494 additions and 31,901 deletions.
6 changes: 6 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -164,20 +164,26 @@ set(PBR_DEFINES
-v "VSG_DIFFUSE_MAP VSG_LIGHTMAP_MAP VSG_METALLROUGHNESS_MAP VSG_NORMAL_MAP VSG_WORKFLOW_SPECGLOSS"
-v "VSG_DIFFUSE_MAP VSG_EMISSIVE_MAP VSG_LIGHTMAP_MAP VSG_METALLROUGHNESS_MAP VSG_NORMAL_MAP VSG_TWO_SIDED_LIGHTING"
-v "VSG_DIFFUSE_MAP VSG_EMISSIVE_MAP VSG_LIGHTMAP_MAP VSG_NORMAL_MAP VSG_SPECULAR_MAP VSG_WORKFLOW_SPECGLOSS"
-v "VSG_DISPLACEMENT_MAP VSG_DIFFUSE_MAP"
-v "VSG_DISPLACEMENT_MAP VSG_DETAIL_MAP VSG_DIFFUSE_MAP"
)

set(PHONG_DEFINES
-v \"\"
-v "VSG_BILLBOARD"
-v "VSG_DIFFUSE_MAP"
-v "VSG_BILLBOARD VSG_DIFFUSE_MAP"
-v "VSG_DISPLACEMENT_MAP VSG_DIFFUSE_MAP"
-v "VSG_DISPLACEMENT_MAP VSG_DETAIL_MAP VSG_DIFFUSE_MAP"
)

set(FLAT_DEFINES
-v \"\"
-v "VSG_BILLBOARD"
-v "VSG_DIFFUSE_MAP"
-v "VSG_BILLBOARD VSG_DIFFUSE_MAP"
-v "VSG_DISPLACEMENT_MAP VSG_DIFFUSE_MAP"
-v "VSG_DISPLACEMENT_MAP VSG_DETAIL_MAP VSG_DIFFUSE_MAP"
)

set(TEXT_DEFINES
Expand Down
Loading

0 comments on commit e75d3f7

Please sign in to comment.