Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
175 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'...
Chillzy's user avatar
  • 47
1 vote
1 answer
934 views

No vertex shader bound at draw?

I tried asking this on reddit but I didn't get any answers so I might as well try here So I'm making a program to generate some terrain and it's not giving me the results I expected. It's drawing ...
Chillzy's user avatar
  • 47
4 votes
1 answer
677 views

Is it possible to debug shaders in GLSL level instead of assembly language level?

I'm writing some Vulkan code and write my shaders in GLSL. I tried to use Renderdoc to debug my shaders, but I only got disassembly code. Is it possible to debug shaders at the level of GLSL if I have ...
Mark Peter's user avatar
0 votes
0 answers
60 views

How to debug shaders running on Android 4.x devices?

I have tried some of the existing inspectors such as RenderDoc and gapid, but none of them can be used with Android 4.x. Latest version of gapid requires Android 6.0 and RenderDoc requires Android 5.0....
zwcloud's user avatar
  • 163
1 vote
0 answers
826 views

How to figure out why a given shader compilation causes an invalid operation error?

I have 2 versions of a program. The only difference being that in one, a geometry shader is compiled and in the other it is not. In all other regards both programs are identical, character by ...
Makogan's user avatar
  • 270
0 votes
0 answers
207 views

A question about HLSL debugger in Visual Studio Graphic Diagnostics

Here 's the thing. I developed a graphic project using SharpDx. Every time I actived the graphic diagnostic and debuged some hlsl code in my shaders, It always showed me the disassembling code rather ...
tedyage's user avatar
  • 23
4 votes
1 answer
134 views

Phantom objects in ray tracing

I am attempting to add volumetric shadowing to an application I am working on to test some things. For this effect I wrote the following fragment ...
Makogan's user avatar
  • 270
1 vote
1 answer
818 views

How to debug a GLSL shader? [duplicate]

I cannot find any tutorial in Google and Youtube. I have a C++ program that uses OpenGL ES 2.0 API to render something on the screen. How can I debug my shaders? Any step-by-step guide? What is the ...
Narek's user avatar
  • 1,337
8 votes
1 answer
385 views

Curious Transparent Holes Render Artifact

So I'm trying to implement "smooth" terrain in my block engine by giving each surface block a heightmap. Basically, what I do to generate these "heightmaps" for each block is I generate the heights ...
untitled's user avatar
  • 674
1 vote
1 answer
252 views

Can I limit the number of shader units used by my video card?

Can I limit the number of shader units used by my video card? (A shader unit is the part of the hardware which can execute a shader program, where each unit runs in parallel). I'm interested in this ...
user827992's user avatar
  • 1,971
13 votes
4 answers
9k views

Debugging Shader Code?

I'm writing a game engine, and when I use a perspective camera I get a black screen. I am not going to ask exactly why this is because there would be a lot of code to share and, frankly, I think that'...
Publius's user avatar
  • 1,493
6 votes
1 answer
3k views

Atmospheric Scattering

I'm trying to implement atmospheric scattering based on Sean O`Neil algorithm that was published in GPU Gems 2. But I have some trouble getting the shader to work. I've downloaded sample code of O`...
user avatar
18 votes
2 answers
5k views

How can I debug shader programs?

I'm in the process of debugging GLSL vertex shaders and I can't shake the feeling that I'm doing it wrong. In general I have two strategies to make up for the lack of tracing I stuff values into a ...
Jonathan Fischoff's user avatar