Added tessellation evaluation shader frustum culling and pipeline stats for dynamic terrain tessellation example
This commit is contained in:
parent
dbf80b217c
commit
a9de176d12
7 changed files with 147 additions and 27 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue