Ray tracing texturing and alpha mapping sample
This commit is contained in:
parent
cd6e3b9a23
commit
787a4ee8e7
1 changed files with 4 additions and 3 deletions
|
|
@ -22,9 +22,9 @@ function(buildExample EXAMPLE_NAME)
|
||||||
ENDIF()
|
ENDIF()
|
||||||
# Add shaders
|
# Add shaders
|
||||||
set(SHADER_DIR_GLSL "../data/shaders/glsl/${EXAMPLE_NAME}")
|
set(SHADER_DIR_GLSL "../data/shaders/glsl/${EXAMPLE_NAME}")
|
||||||
file(GLOB SHADERS_GLSL "${SHADER_DIR_GLSL}/*.vert" "${SHADER_DIR_GLSL}/*.frag" "${SHADER_DIR_GLSL}/*.comp" "${SHADER_DIR_GLSL}/*.geom" "${SHADER_DIR_GLSL}/*.tesc" "${SHADER_DIR_GLSL}/*.tese" "${SHADER_DIR_GLSL}/*.mesh" "${SHADER_DIR_GLSL}/*.task" "${SHADER_DIR_GLSL}/*.rgen" "${SHADER_DIR_GLSL}/*.rchit" "${SHADER_DIR_GLSL}/*.rmiss" "${SHADER_DIR_GLSL}/*.rcall")
|
file(GLOB SHADERS_GLSL "${SHADER_DIR_GLSL}/*.vert" "${SHADER_DIR_GLSL}/*.frag" "${SHADER_DIR_GLSL}/*.comp" "${SHADER_DIR_GLSL}/*.geom" "${SHADER_DIR_GLSL}/*.tesc" "${SHADER_DIR_GLSL}/*.tese" "${SHADER_DIR_GLSL}/*.mesh" "${SHADER_DIR_GLSL}/*.task" "${SHADER_DIR_GLSL}/*.rgen" "${SHADER_DIR_GLSL}/*.rchit" "${SHADER_DIR_GLSL}/*.rmiss" "${SHADER_DIR_GLSL}/*.rcall" "${SHADER_DIR_GLSL}/*.rahit" "${SHADER_DIR_GLSL}/*.glsl")
|
||||||
set(SHADER_DIR_HLSL "../data/shaders/hlsl/${EXAMPLE_NAME}")
|
set(SHADER_DIR_HLSL "../data/shaders/hlsl/${EXAMPLE_NAME}")
|
||||||
file(GLOB SHADERS_HLSL "${SHADER_DIR_HLSL}/*.vert" "${SHADER_DIR_HLSL}/*.frag" "${SHADER_DIR_HLSL}/*.comp" "${SHADER_DIR_HLSL}/*.geom" "${SHADER_DIR_HLSL}/*.tesc" "${SHADER_DIR_HLSL}/*.tese" "${SHADER_DIR_HLSL}/*.mesh" "${SHADER_DIR_HLSL}/*.task" "${SHADER_DIR_HLSL}/*.rgen" "${SHADER_DIR_HLSL}/*.rchit" "${SHADER_DIR_HLSL}/*.rmiss" "${SHADER_DIR_HLSL}/*.rcall")
|
file(GLOB SHADERS_HLSL "${SHADER_DIR_HLSL}/*.vert" "${SHADER_DIR_HLSL}/*.frag" "${SHADER_DIR_HLSL}/*.comp" "${SHADER_DIR_HLSL}/*.geom" "${SHADER_DIR_HLSL}/*.tesc" "${SHADER_DIR_HLSL}/*.tese" "${SHADER_DIR_HLSL}/*.mesh" "${SHADER_DIR_HLSL}/*.task" "${SHADER_DIR_HLSL}/*.rgen" "${SHADER_DIR_HLSL}/*.rchit" "${SHADER_DIR_HLSL}/*.rmiss" "${SHADER_DIR_HLSL}/*.rcall" "${SHADER_DIR_GLSL}/*.rahit")
|
||||||
source_group("Shaders\\GLSL" FILES ${SHADERS_GLSL})
|
source_group("Shaders\\GLSL" FILES ${SHADERS_GLSL})
|
||||||
source_group("Shaders\\HLSL" FILES ${SHADERS_HLSL})
|
source_group("Shaders\\HLSL" FILES ${SHADERS_HLSL})
|
||||||
# Add optional readme / tutorial
|
# Add optional readme / tutorial
|
||||||
|
|
@ -136,6 +136,7 @@ set(EXAMPLES
|
||||||
raytracingreflections
|
raytracingreflections
|
||||||
raytracingsbtdata
|
raytracingsbtdata
|
||||||
raytracingshadows
|
raytracingshadows
|
||||||
|
raytracingtextures
|
||||||
renderheadless
|
renderheadless
|
||||||
screenshot
|
screenshot
|
||||||
shadowmapping
|
shadowmapping
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue