- Home /
Shader Graph: modified Voronoi node?
I have a complex question, this is a hail-mary, and hopefully, someone will be able to answer this for me. Any help is welcome!
I want to make a custom Shader Graph node as a variation of the Voronoi node. The default node outputs Voronoi cells, with a Vector1 color based on the angle offset of the node. My project requires specific and direct control over the colors of each cell outputted. If Voronoi noise is generated from individual points, I would like to set the color of the cell defined by a UV map. For example, if a cell has a center near R:0, G:0 I would like that cell to be colored black; if a cell has its center near R:1, G:0 I would like the cell to be colored red; if a cell has its center near R:1, G:1 I would like the cell to be colored Yellow.
This is the script used for the Voronoi node:
How would I need to modify this script (as a custom node) in order to get the desired result?
Your answer

Follow this Question
Related Questions
RimLight Shader 0 Answers
Shader to ignore post processing effects 0 Answers
Find position of pixel that's currently being calculated in shadergraph custom function 0 Answers
Silhouette overlay shader 0 Answers
Shader forge & Spine 1 Answer