Questions tagged [tessellation]
The process of breaking down polygons into finer pieces.
54 questions
0
votes
1
answer
81
views
Tesselation and Geometry shader do not render anything
I am experiencing an extremely odd situation with the introduction of the tesselation control and evaluation shaders in my OpenGL rendering pipeline.
I defined an instanced indexed mesh whose ...
0
votes
0
answers
289
views
How I can compute normals vectors for a tessellated terrain?
I would like compute normals vectors for a tessellated terrain generated procedurally, in order to use them for a basic lighting. I don't know how I could do it. I can do it in the Tessellation ...
1
vote
1
answer
255
views
glPatchParameteri(GL_PATCH_VERTICES, 4) causes access violation
I'm trying to create a tessellated terrain, for this purposes I'm following the LearnOpenGL tutorial: https://learnopengl.com/Guest-Articles/2021/Tessellation/Tessellation
However, when I set the ...
1
vote
1
answer
763
views
How to subdivide an octahedron into a sphere?
For a game I'm making, I have to tessellate an octahedron into a sphere on the GPU (shaders). What I've done is I've successfully tessellated the faces, but I'm having trouble subdividing more spaces, ...
0
votes
1
answer
226
views
Tessellation shaders not working, no objects drawing on screen
Using this tutorial https://learnopengl.com/Guest-Articles/2021/Tessellation/Tessellation and this tutorial https://www.youtube.com/watch?v=21gfE-zUym8 I implemented tessellation shaders that I haven'...
0
votes
0
answers
252
views
How to replicate the dynamic LOD system for characters from Messiah (2000) in Unity?
I watched this video on youtube and got really curious about replicating the "character system" that it covers. This article linked in the video description goes into further detail on the ...
1
vote
1
answer
649
views
Why is my tessellation output failing to reach my geometry shader?
I'm attempting to render grass using GLSL tessellation and geometry shaders. For vertex input, I'm using position and normal. For reference, here's an image of the grassy field without tessellation (...
0
votes
1
answer
224
views
How does the InsideTessFactor affect points of a triangle in a DirectX11 domain shader?
I found this example in this Chinese language document.
In the image above, I can understand the value of SV_TessFactor because for every side of this triangle, ...
0
votes
1
answer
519
views
Writing Hull shader in directx
hey i am studying different types of shaders in directx.
and it comes to hull shader.
so i write hlsl codes for both constant hull shader and control point hull shader in same file in visual studio ...
0
votes
1
answer
663
views
DirectX 11 generate normals for tessellated triangles
I've spent a couple days looking for an answer to this - How can I access the newly created triangles of tessellation and generate normals for them? I've followed much of the shader code from the ...
1
vote
1
answer
2k
views
How do you animate/collide against a tessellated mesh?
Now that I have a implemented tessellation for my mesh, I am trying to understand how I can leverage the generated primitives.
Example:
I have the following track mesh generated procedurally, it ...
1
vote
0
answers
113
views
How to fix this terrain behavior?
EDIT: This is for In game Terraforming, kind of like in life is feudal. https://www.google.com/search?q=life+is+feudal+terraforming&rlz=1C1CHBF_enUS792US792&source=lnms&tbm=isch&sa=X&...
3
votes
0
answers
2k
views
Unity Standard surface shader with tessellation
So I'm experimenting with tesselation to try and make a custom snowshader and after I finnaly manage to compile the shader without any errors.
The plane I'm using the shader on simply become ...
0
votes
1
answer
1k
views
OpenGL Tessellation Shader Not Working
I've been trying to play around with tessellation shaders in OpenGL for a couple of hours now, but I'm having trouble to get it to work. I've been following The Little Grasshopper Triangle ...
0
votes
1
answer
2k
views
Accessing vertex Input in surf directly without vert's out parameter In Tessellation Shader
I can get the vertex Input in vertex shader as follows:
o.worldPos = v.vertex.xyz;
But how do I get the worldPos directly without filling the out parameter in ...