* Started working on a ray tracing glTF sample * Started working on a ray tracing glTF sample Added textures using descriptor indexing * Frame accumulation Pass glTF node transforms to BLAS build * Shader cleanup * Code cleanup, flip Y using TLAS transform matrix * Create AS for all primitives in the gltf scene * Remove unused variables * Added missing shaders * Minor cleanup
15 lines
No EOL
228 B
GLSL
15 lines
No EOL
228 B
GLSL
/* Copyright (c) 2023, Sascha Willems
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#version 460
|
|
#extension GL_EXT_ray_tracing : enable
|
|
|
|
layout(location = 0) rayPayloadInEXT vec3 hitValue;
|
|
|
|
void main()
|
|
{
|
|
hitValue = vec3(1.0);
|
|
} |