I really would like to do something more "ISL-ist" with this material.
But this way of "think" at the contrary of that I know, and my poor knowledge in the ISL basics cause me a lot of waste of time and frustrations.
Because I understand that is simple example, and I feel like an idiot when I don't succed to re-do this simple exemple like I want, and this so easy to do that in bitmap with Substance or Photoshop...
Could you please help my to place me on the way to understand this example:
Code: Select all
<shader> <![CDATA[def dist(vec2 a, vec2 b) real : length(b - a) def dist(vec3 a, vec3 b) real : length(b - a) def eval() real : if( dist( vec2( fract(doti(getTexCoords(0)) * 10.0), fract(dotj(getTexCoords(0)) * 10.0) ), vec2(0.5, 0.5) ) > 0.25, 0.0, 1.0 )]]> </shader>
I can copy this blend map shader
and then copy/paste it in the bump with a larger size of the dots to obtain a fake "thickness effect".
How can I change the size of the dots?