//=time() ?>
Rendered the famous Cornell box. Cook-Torrance on left, Blinn-Phong on the right.
@maartengm I have the .pdf of the book on my desktop but still have to read through it, here is a render with explicit sampling of point lights, far less noisy. Might do a comparison with mitsuba later
Added triangles and I can now load in basic .obj meshes! Still noisy, will post the next image with explicit light sampling
Working on a dynamic grain system, allowing me to add grain to the scene on a per-object basis. Using a little bit of grain adds to the hand-drawn look! #madewithunity #gamedev #shader
@hammyxhammy @Cyanilux @roystanhonks Updated 2019.3 outline tutorial coming next week on Tuesday :)
Let's add foam lines! What we do is define a foam-size variable and use it to add a foam line to the lerped color output. We clamp the result and put it in the albedo slot of our material.
Next, we take our clamped depth and use it to lerp between a shallow and a deep water color. We also use the clamped depth and plug it into the alpha slot of our material.