This commit adds "Bands Saw" and "Rings Saw" to the options for the Wave texture node in Cycles, behaving similar to the Saw option in BI textures.
Requested by @claas kuhnen (cekuhnen) on BA.
Details
Details
Diff Detail
Diff Detail
- Repository
- rB Blender
- Branch
- wave_saw
Event Timeline
Comment Actions
While the underlying code might be kept as-is, in the interface it makes more sense to have separate menus for the shape and falloff.
| intern/cycles/kernel/shaders/node_wave_texture.osl | ||
|---|---|---|
| 37 | if (...) {
return ...
}
else {
/* Saw profile wave */
return ...
} | |
| intern/cycles/kernel/svm/svm_wave.h | ||
| 36 | Same as above. | |
Comment Actions
Please always rebase, before submitting patches. This misses the new equals() function for nodes.
Comment Actions
Okay, now OSL and SVM code are written more similar (reduces confusion) and the braces should be correct.