|
4d6c877b66
|
Cycles OSL: fix mistake in recent refactoring, parameters are not set before setup.
|
2013-11-29 17:18:43 +01:00 |
|
|
746628e0d0
|
Cycles OSL: refactoring to remove all dependencies on builtin OSL closures.
These were removed in new OSL versions. We only used these as base classes,
not using them at all simplifies the code a bit.
|
2013-11-29 04:01:07 +01:00 |
|
Brecht Van Lommel
|
06888b7beb
|
Cycles OSL minor optimizations: recycle shading context, don't do memory
allocations for trace data, avoid some virtual function calls. Only helps
a few percentages.
|
2012-12-15 10:18:42 +00:00 |
|
Brecht Van Lommel
|
209cd25745
|
Cycles OSL: phong_ramp(N, exponent, colors[8]) closure added, which works like
a specular ramp shader. Note this is OSL only still, for experimenting.
Patch by Thomas.
|
2012-11-06 19:59:07 +00:00 |
|