Cycles Voronoi Noise : Update original patch to 2.8
ClosedPublic

Authored by Charlie Jolly (charlie) on Mon, Jun 25, 8:00 PM.

Diff Detail

Repository
rB Blender
Charlie Jolly (charlie) retitled this revision from Update patch to 2.8 to Cycles Voronoi Noise : Update original patch to 2.8.Mon, Jun 25, 10:33 PM
Charlie Jolly (charlie) added a reviewer: Cycles.
  • Merge branch 'blender2.8' of git://git.blender.org/blender into arcpatch-D3503
  • Add OSL
This revision was not accepted when it landed; it landed in state Needs Review.Sun, Jul 15, 12:46 AM
This revision was automatically updated to reflect the committed changes.

Committed with changes:

  • Refactor to avoid code duplication and CUDA performance regression
  • Match code style
  • Hide Exponent socket when not used
  • Eliminate Minkowski 1/2 and 4, these are just different exponent values
  • Fix GLSL shader to at least compile, but support for these new setting is still missing in viewport/Eeevee
intern/cycles/kernel/shaders/node_voronoi_texture.osl
121–122

Note this is not needed, OSL string comparisons are fast and in this constant folded away entirely.