Cycles / Wave Texture:

* Found an issue in the shader code, it used the x coordinate twice.
This commit is contained in:
Thomas Dinges
2012-06-02 17:44:28 +00:00
parent d61e6e15e4
commit cf929c7796

View File

@@ -27,7 +27,7 @@ __device_noinline float svm_wave(NodeWoodType type, float3 p, float scale, float
p *= scale; p *= scale;
if(type == NODE_WAVE_BANDS) if(type == NODE_WAVE_BANDS)
n= (p.x + p.x + p.z)*10.0f; n= (p.x + p.y + p.z)*10.0f;
else /* if(type == NODE_WAVE_RINGS) */ else /* if(type == NODE_WAVE_RINGS) */
n= len(p)*20.0f; n= len(p)*20.0f;