Fix T48103: Wrong renders on AMD OpenCL when Light Falloff node is used
This commit is contained in:
parent
2050ecc307
commit
45a089c138
Notes:
blender-bot
2023-02-14 07:59:40 +01:00
Referenced by issue #48103, Lights are not rendered properly on GPU (build: April 10th)
|
@ -619,6 +619,7 @@ class LightFalloffNode : public ShaderNode {
|
|||
public:
|
||||
SHADER_NODE_CLASS(LightFalloffNode)
|
||||
bool has_spatial_varying() { return true; }
|
||||
virtual int get_group() { return NODE_GROUP_LEVEL_2; }
|
||||
};
|
||||
|
||||
class ObjectInfoNode : public ShaderNode {
|
||||
|
|
Loading…
Reference in New Issue