Fix T48103: Wrong renders on AMD OpenCL when Light Falloff node is used

This commit is contained in:
Sergey Sharybin 2016-04-11 10:54:41 +02:00
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)
1 changed files with 1 additions and 0 deletions

View File

@ -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 {