0
Corrigé

Refraction output can't be modified in sample shader

derrickbarth il y a 11 ans mis à jour par Freya Holmér (Developer) il y a 11 ans 0

Hi, was just trying to play around and learn about refraction by playing with your sample refraction shader in the examples.


When I break the node connection to refraction output, and then attempt to-reconnect it, it refuses to connect.  Even without modifying the existing node network.  I try reconnecting the Multiply back to Refraction and it just doesn't work.


Not sure if this happens all the  time with the refraction output, but thought  you would like to know.

Solution

Solution
Corrigé

This is quite an odd issue where the node connections lose their output type/component count when you open them, so it's not just the refraction shader! A workaround is to reconnect the inputs of the node(s) before the node that connects to the refraction


Edit: This is now fixed in Alpha 0.12 :)

Prévu

This is quite an odd issue where the node connections lose their output type/component count when you open them, so it's not just the refraction shader! A workaround is to reconnect the inputs of the node(s) before the node that connects to the refraction

Solution
Corrigé

This is quite an odd issue where the node connections lose their output type/component count when you open them, so it's not just the refraction shader! A workaround is to reconnect the inputs of the node(s) before the node that connects to the refraction


Edit: This is now fixed in Alpha 0.12 :)