Sunflow Shader Writing
I’m sure it’s apparent that I’m into Sunflow. I enjoy it thoroughly. I’ve also gotten into the source code enough that I am grasping even more. Case in point: I’ve produced my second janino shader. The first was just stripping the diffuse component out of the phong shader leaving only the specular – nothing fancy. The second is a little more than a standard shader stripped down to the wires (though still not on the level that Don is at). What makes it special to me is that it actually does something I can use and it looks like I intended: implementation of a reflection map on one of the shaders. I’m finding that the real power of Sunflow is the integration of Janino so that you can access everything in the source. Not only is it a great deal of fun to have access to everything the renderer has, but you can create things beyond what is there now. Plus, it helps me strengthen my use of Java.

Leave a Reply