Currently attempting to rewrite the example3-3 from the book WebGL: Up and running without utilizing sim.js. However, encountering difficulties with the textures.
Struggling to achieve normal and specular effects using ShaderMaterial, similar results are obtained with MeshPhongMaterial. The current render with ShaderMaterial can be viewed here: https://i.sstatic.net/IvHpJ.jpg
Below is the provided code:
// Code goes here...
Seems like the issue lies with the textures rather than the lights being used.