Added tessellation evaluation shader frustum culling and pipeline stats for dynamic terrain tessellation example

This commit is contained in:
saschawillems 2016-06-23 22:01:48 +02:00
parent dbf80b217c
commit a9de176d12
7 changed files with 147 additions and 27 deletions

View file

@ -8,8 +8,11 @@ layout (set = 0, binding = 0) uniform UBO
mat4 projection;
mat4 modelview;
vec4 lightPos;
vec4 frustumPlanes[6];
float displacementFactor;
float tessellationFalloff;
float tessellationFactor;
vec2 viewportDim;
float tessellatedEdgeSize;
} ubo;
layout (set = 0, binding = 1) uniform sampler2D displacementMap;