10-24-2016, 05:49 AM
I had a time to check/test it and it is similar what I had tried before. What was going wrong is that I was porting to be used as un AutoUV shader and unfortunately it doesn't works. It seems like the the gl_normal doesn't have a valid value (it's a constant value). Maybe something must be added to the AutoUV code in order to make the normals available correctly as it works for Geometry window.
So, by now, the code cannot be used for the AutoUV shaders as the others already shared here.
So, by now, the code cannot be used for the AutoUV shaders as the others already shared here.