views:

53

answers:

2
+1  A: 

I wrote a shading language virtual machine for a ray-tracer. Mainly I developed it to support basic operations that are usually done over un-textured surfaces but I don't think it's enough for you.. You can dowload the manual of my language here.

If you think you are interested I can give you the code (written in C/C++) or some hints..

Jack
+1  A: 

It's not clear whether you want to re-implement shaders on your own, or whether you want code that load/use shaders. Assuming the latter, you might want to look at the code I posted in this previous answer. I've found it quite useful (and pretty easy to use).

Jerry Coffin