From c10e941436722e84848db974e2eff7a8dcbce88a Mon Sep 17 00:00:00 2001 From: Xevion Date: Fri, 6 Nov 2020 09:28:35 -0600 Subject: [PATCH] update README with important file information & links --- README.md | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 7f057a9..4f69c03 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,18 @@ A simple project for testing out how to use Shaders in Unity. -There is not much to see, but you'll find a 2D Heatmap with values generated from Perlin Noise. +This project mostly revolves around rendering of a grid of squares, each able to accept a color. Currently it is programmed to accept a single floating point describing it's position on a value gradient. -RGB color values are generated from a simple heatmap image I found, and a simple Python script is used to extract and print them out. +It is also programmed to use values from a Perlin Noise map which slowly scrolls over. The value gradient's points were generated from a image I found online, and the RGB values generated from a simple Python script. -![Scrolling Perlin Noise Heatmap](./perlin_heatmap.gif) \ No newline at end of file +## Screenshot + +![Scrolling Perlin Noise Heatmap](./perlin_heatmap.gif) + +## Important Files + +- [GridShader.shader](./Climb/Assets/GridShader.shader) - Controls rendering of a grid. Values are sent through the GPU (StructuredBuffer)! + +- [GridController.cs](./Climb/Assets/Scripts/GridController.cs) - Controls value generation, scrolling and actually sending values to the shader mat. + +- [hsv/main.py](./hsv/main.py) - Generates an array literal from [gradient.png](./hsv/gradient.png) for use in the Shader as a gradient for a heatmap. \ No newline at end of file