blender/tests/files/render/shader/cycles_renders
Jacques Lucke ba82476ade Shader Nodes: support Integer Math node in EEVEE and Cycles
This adds the Integer Math node to shader nodes. It's the same node that
can already be used in Geometry Nodes and the Compositor.

While creating the regression test, I noticed that the integer math
implementation was a bit broken:
* The integer modulo (`%`) operator on the GPU is undefined for negative
  divisors (the added regression test showed that the behavior is not
  consistent across platforms).
* Use integer power function instead of using float implementation with
  casts.

The MaterialX implementation is omitted for now. I didn't look into it
in detail yet but for the Boolean Math node (#162798) it seemed like
some more work is needed there to support this type.

Pull Request: https://projects.blender.org/blender/blender/pulls/163805
2026-09-14 10:36:19 +02:00
..
ambient_occlusion.png
ambient_occlusion_only_local.png
bevel.png
bevel_mblur.png
blackbody.png
boolean_math_cases.png Shader Nodes: support Boolean Math node in EEVEE and Cycles 2026-09-12 14:43:16 +02:00
camera_data_distance.png
camera_data_vector.png
constant_fold.png
custom_normal_map.png
diffuse_normal_map.png
emission.png
float_math.png
fresnel_layer_weight.png
glossy_normal_map.png
holdout.png Tests: Add missing render tests 2026-05-29 15:07:58 +02:00
hsv.png
input_boolean.png Nodes: Add Boolean, Integer, and Vector input nodes in Shader Editor 2026-02-23 16:03:40 +01:00
input_integer.png Nodes: Add Boolean, Integer, and Vector input nodes in Shader Editor 2026-02-23 16:03:40 +01:00
input_vector.png Nodes: Add Boolean, Integer, and Vector input nodes in Shader Editor 2026-02-23 16:03:40 +01:00
input_vector_bsdf.png Fix #159564: Cycles: Constant link to BSDF nodes not initialized 2026-06-09 17:33:04 +02:00
integer_math.png Shader Nodes: support Integer Math node in EEVEE and Cycles 2026-09-14 10:36:19 +02:00
invert.png
material_output_selection.png Tests: Add missing render tests 2026-05-29 15:07:58 +02:00
menu.png Nodes: Add missing input nodes for constant values 2026-02-24 15:18:17 +01:00
menu_switch.png Nodes: Add missing input nodes for constant values 2026-02-24 15:18:17 +01:00
mix_color.png
node_group_color.png
node_group_float.png
node_group_vector.png
normal.png
normal_map_displaced.png Cycles: Add Normal Map node Base option for displaced surfaces 2026-02-27 18:52:50 +01:00
normal_map_transform.png Fix #154128: Cycles normal map wrong renders after corner normal changes 2026-02-09 23:20:15 +01:00
normal_mapping_light_leak.png Cycles: Widen ray differentials based on BSDF roughness 2026-04-20 17:51:59 +02:00
object_info.png
rgb_curves_input_0.5.png
rgb_curves_input_1.2.png
rgb_curves_input_2.0_extrapolate.png
rgb_curves_input_neg_0.5.png
rgb_curves_input_neg_1.2.png
rgb_curves_input_neg_2.0_extrapolate.png
scene_time.png Shaders: Add Scene Time node 2026-05-21 15:22:05 +02:00
tex_voronoi.png
texture_coordinate_camera.png
texture_coordinate_generated.png
texture_coordinate_normal.png
texture_coordinate_object.png
texture_coordinate_object_with_reference.png
texture_coordinate_reflection.png
texture_coordinate_uv.png
texture_coordinate_window.png
vector_math.png
wavelength.png