GPUOpen-LibrariesAndSDKs / RadeonProRenderBlenderAddon

This hardware-agnostic rendering plug-in for Blender uses accurate ray-tracing technology to produce images and animations of your scenes, and provides real-time interactive rendering and continuous adjustment of effects.
https://gpuopen.com/radeon-prorender-suite/
Apache License 2.0
488 stars 57 forks source link

RPRBLND-2229: Blender 3.4 integration #582

Closed VascoPi closed 1 year ago

VascoPi commented 1 year ago

PURPOSE

Blender 3.4 integration. Implement Mix and Mix Color nodes. image

EFFECT OF CHANGE

Added support for shader nodes Mix and Mix Color.

TECHNICAL STEPS

Added class ShaderNodeMix. Moved repeated code used within ShaderNodeMix and ShaderNodeMixRGB to function blend_color. Added pass poll argument to NodeItem to show a node for a particular blender version.

NOTES FOR REVIEWERS

The changes affect the node's appearance in UI for different versions of Blender: Mix, Mix RGB, Mix Color, Combine XYZ, Combine RGB, Combine HSV, Combine Color, Separate XYZ, Separate RGB, Separate HSV, Separate Color