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
480 stars 56 forks source link

RPRBLND-2255: Update toon shader to switch between 1/3/5 color modes. #589

Closed VascoPi closed 1 year ago

VascoPi commented 1 year ago

PURPOSE

Update toon shader to switch between 1/3/5 color modes.

EFFECT OF CHANGE

You can now choose between three out of five color ramp modes by selecting the Ramp Mode dropdown list. blender_VqgQYf69Ml

TECHNICAL STEPS

Added enum property "ramp_mode" with values 1_COLORS, 3_COLORS, 5_COLORS. Adjusted code to support ramp_mode values. Removed show_advanced property. mid_color_as_albedo is visible if ramp_mode is 3_COLORS, 5_COLORS. linked_light is always visible. Set bl_width_min to 310 to fit the linked light and ramp mode selector

VascoPi commented 1 year ago

Updated pull request with requested changes. Updated pull request description with new node look.