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

Vector->Mapping node Rotation input doesnt work #606

Closed jombo23 closed 1 year ago

jombo23 commented 1 year ago
  1. System setup (GPU, CPU, OS version, Blender version) Win11, Vega64, xeon e5 2696v4, blender 3.5.0

Blend file attached: shadertestsproender.zip

Setup:

Texture UV coordinate runs into Vector->Mapping node to rotate the texture on the surface.

Typing a value into the Z rotation box works fine.

Connecting a vector input to the "Rotation" input doesnt change anything, and the mapping node proceeds to use the same value that was typed in the box instead of using the input.

The rest of the inputs on the Vector->Mapping node work as expected.

Screenshots (bad nodes highlighted in red)

Default values: image

Scale input attached: image

Z rotation input entered manually: image

Rotation input node attached: image

Rotation input node attached and value changed: image

Please notice how the Rotation input is still using the value of 45 degrees that I had previously entered, and is not reset to 0, or even 20 from the input node.

Sorry for any formatting errors, and please let me know if I missed something, or you have any questions.

jombo23 commented 1 year ago

Fixed with #607, please review and merge if possible :) EDIT: PR doesnt account for certain setups (which cause invalid types, specifically using object info nets a MaterialNode error) at the time of this edit