Skip to main content
GameDevNerd's user avatar
GameDevNerd's user avatar
GameDevNerd's user avatar
GameDevNerd
  • Member for 4 years, 7 months
  • Last seen more than 4 years ago
awarded
awarded
awarded
Loading…
revised
Loading…
revised
Loading…
awarded
revised
Loading…
revised
How to generate a correct RGB + Luminance histogram?
Change in code. The fix of the offset issue in for loops when gathering the each channel data to separate arrays
Loading…
comment
How to generate a correct RGB + Luminance histogram?
Well, I have solved the issue with the same look graphs. The issue was that the offset was applied not to the histogram data index when the data for each channel was gathered into separate arrays. And that resulted in wrong data being stored. I have added a change in the question. The graphs look much better now, however, it still looks somewhat incorrect. Mine looks a lot more smooth, and in Photoshop, it looks a bit rougher. I have also added the new histogram output image to the question.
awarded
revised
Loading…
Loading…
comment
How to texture procedurally generated custom terrain mesh
Thank you for the link! Will be sure to give it a watch!
Loading…
Loading…