Fix #35282: cycles color ramp set to constant interpolation did not work well.

This commit is contained in:
Brecht Van Lommel
2013-05-10 11:44:24 +00:00
parent e46551246c
commit 34d7392297
5 changed files with 26 additions and 14 deletions

View File

@@ -488,6 +488,7 @@ class RGBRampNode : public ShaderNode {
public:
SHADER_NODE_CLASS(RGBRampNode)
float4 ramp[RAMP_TABLE_SIZE];
bool interpolate;
};
class SetNormalNode : public ShaderNode {