FrameGraph-Example icon indicating copy to clipboard operation
FrameGraph-Example copied to clipboard

GBuffer issue on AMD GPU

Open skaarj1989 opened this issue 3 years ago • 0 comments

In the GBuffer pass, a vertex shader does not write to fragPos and normal/TBN (to fragment shader).

image

This results in no lighting (the final image is black).

The same VAO, vertex shader and very similar fragment shader are used in the ReflectiveShadowMap pass with correct output.

This problem happens on AMD only, works fine with:

  • Intel HD Graphics 530 (30.0.101.1994)
  • NVIDIA GTX960 (30.0.14.7333)

skaarj1989 avatar Jul 16 '22 13:07 skaarj1989