Re:Goodbye, Object Oriented Programming
by VladimirGolovin on Monday July 25, 2016 @02:56AM
(#12156958)
> Sure, HLSL and GLSL are locally procedural.
Just wanted to add that shaders lend themselves very well to the functional / dataflow paradigm. There are numerous visual node-based shader editing tools where you construct shaders from blocks, which essentially are pure functions.
Just wanted to add that shaders lend themselves very well to the functional / dataflow paradigm. There are numerous visual node-based shader editing tools where you construct shaders from blocks, which essentially are pure functions.