adds support for cast shadows (casting, receiving and self-shadowing)
gives the Terrain a modified MeshPhongShader, which means that the Terrain now behaves as any other mesh in the scene: it reacts to scene lights, has support for specularity etc.
ships the sourcemaps in the npm package, which might help debugging
Here is an illustration of the terrain casting and receiving shadows:
This PR:
MeshPhongShader
, which means that the Terrain now behaves as any other mesh in the scene: it reacts to scene lights, has support for specularity etc.Here is an illustration of the terrain casting and receiving shadows:![image](https://github.com/aresrpg/aresrpg-engine/assets/22922087/759b937e-b000-48b4-990b-1d0885423a02)