- Home /
how to make a simple histogram
Hi, i don`t know much about coding, i need to display a histogram during game mode for showing the white clipping, i used some codes i found but some of them display the histogram in editor mode, in fact im using the histogram of a "levels" script but i dont know how to modify it or use only the histogram and display it on game mode.
Answer by Scopperloit · Apr 20, 2013 at 08:24 PM
I made a histogram in Java a couple of years ago.
What I did was to draw the diagram using shapes (lines and rectangles) and pixel coordinates. Then I let the height parameter of the rectangles represent each respective value of whatever the diagram shows.
I don't have much experience in Unity, but maybe you can use this method somehow? Also, is this going to be a 3D-histogram using in-game objects, or should it consist of GUI-elements?
Your answer
![](https://koobas.hobune.stream/wayback/20220613100713im_/https://answers.unity.com/themes/thub/images/avi.jpg)