Page MenuHome

Shading: Add UVW output to Voronoi node
Needs ReviewPublic

Authored by Charlie Jolly (charlie) on Thu, Mar 5, 3:24 PM.

Details

Summary

Adds a UVW output which contains the voronoi cell coordinates.

This output is zero centered and will contain negative values.

This provides the equivalent of the following setup which was posted in the original devtalk thread here:

https://devtalk.blender.org/t/cycles-eevee-improvements-weekly-reports/7697/14

Diff Detail

Repository
rB Blender
Branch
master
Build Status
Buildable 6990
Build 6990: arc lint + arc unit

Event Timeline

"Coords" is rather vague, it could mean the same as "Position" depending on the context. Maybe "UV" or "Cell UV" (would also rename "Position" to "Cell Position" then).

"Coords" is rather vague, it could mean the same as "Position" depending on the context. Maybe "UV" or "Cell UV" (would also rename "Position" to "Cell Position" then).

I think UV implies 2D coordinates, this will output 3D coordinates too. What about changing to "Cell Coords" and leaving "Position" as is?

We don't use the terminology "Coords" elsewhere, and I'd rather not introduce it since it's vague.

If it's 3D, I would prefer "UVW ".

Rename Coords to UVW

Charlie Jolly (charlie) retitled this revision from Shading: Add Coords output to Voronoi node to Shading: Add UVW output to Voronoi node.Fri, Mar 6, 12:38 PM
Charlie Jolly (charlie) edited the summary of this revision. (Show Details)

Fix after recent node changes in master