baldurk / renderdoc

RenderDoc is a stand-alone graphics debugging tool.
https://renderdoc.org
MIT License
8.6k stars 1.3k forks source link

renderdoc 1.13 use TextureSave R8G8B8 png not work! #3331

Closed wsqat closed 1 month ago

wsqat commented 1 month ago

I use renderdoc 1.13 version. It is found that the picture saved in RGB format is black. ` texsave.alpha = rd.AlphaMapping.BlendToCheckerboard

texsave.mip = 0

texsave.slice.sliceIndex = 0

texsave.resourceId = sd.textures[0].resourceId

texsave.destType = rd.FileType.PNG

texsave.comp.blackPoint = 0.0

texsave.comp.whitePoint = 1.0

filename = "./capture/" + os.path.basename(sys.argv[1]).split('.')[0] + ""

controller.SaveTexture(texsave, filename + "_0.png")

`

0-1_0

baldurk commented 1 month ago

Hi there, your issue has been closed due to not correctly following the issue template. Please read the documentation about filing issues and open a new issue which does follow the issue template. Do not reply to this issue with more information or with a correctly formatted issue, as that will only lead to confusion.

I try to address all github issues and fix bugs quickly, but badly formatted issues or poorly described bug reports especially are a significant drain on project resources. Taking a few minutes to file a good issue makes a huge difference and will get it addressed faster - everybody wins!

In github when you first create a new issue the form is pre-populated with a template which you should read over and follow. As linked above there is documentation going into more detail about what makes a good issue.