Page MenuHome

Geometry Nodes: Add Checker Texture
ClosedPublic

Authored by Charlie Jolly (charlie) on Oct 6 2021, 12:52 AM.

Diff Detail

Repository
rB Blender

Event Timeline

Charlie Jolly (charlie) requested review of this revision.Oct 6 2021, 12:52 AM
Charlie Jolly (charlie) created this revision.

Add check to see if color needs to be computed.

Rebase after recent changes in master

Jacques Lucke (JacquesLucke) requested changes to this revision.Oct 14 2021, 3:48 PM
Jacques Lucke (JacquesLucke) added inline comments.
source/blender/nodes/shader/nodes/node_shader_tex_checker.cc
88

The blender:: part is not necessary.

101

Comment style.
Can you provide an example for where this is necessary?

This revision now requires changes to proceed.Oct 14 2021, 3:48 PM
Charlie Jolly (charlie) marked 2 inline comments as done.Oct 14 2021, 4:26 PM
Charlie Jolly (charlie) added inline comments.
source/blender/nodes/shader/nodes/node_shader_tex_checker.cc
101

This is taken from the Cycles code. This may be less of an issue with GN but with the shader you can see the issue dating back to T51951 and the fix rB3232d8ec8f15. The same code is in Wave Texture too.

Charlie Jolly (charlie) marked an inline comment as done.

Address comments

Jacques Lucke (JacquesLucke) requested changes to this revision.Oct 19 2021, 3:13 PM

This is missing the change in nodeitems_builtins.py.

source/blender/nodes/shader/nodes/node_shader_tex_checker.cc
88

This comment is still valid.

This revision now requires changes to proceed.Oct 19 2021, 3:13 PM
Charlie Jolly (charlie) marked an inline comment as done.Oct 19 2021, 6:54 PM

Please add a file to compare this to cycles to the summary.

This revision is now accepted and ready to land.Oct 20 2021, 4:02 PM
This revision was automatically updated to reflect the committed changes.