#like so:

1 messages ยท Page 1 of 1 (latest)

mystic kelp
granite yarrow
#

Oh, I'm definately, going to try that.

#

๐Ÿ™‚

#

Thanks!

granite yarrow
#

Well, can't make it to work. But what is strange is that, I changed my shader graph to output the value 1 to the render texture and I'm unable to read the Red value as 1 but 0.625f. Did the same change to my URP shader and it outputs 1 as expected. So, I guess this has to do with some HDRP setting...

novel pelican
#

try this one here: ScreenCapture.CaptureScreenshotAsTexture()

sinful zodiac
#

@granite yarrow Make sure your texture2d and the render texture are in the same color space (linear/gamma)

granite yarrow
#

Unfortunately, I still have lack of color precision when reading the render texture. @novel pelican I'm afraid this won't work, I was hoping I could somehow capture the screen but from a specific camera; this method captures everything on the screen. ๐Ÿ˜ฆ

novel pelican