https://github.com/zhaoyoubing/proj02/tree/LabA08_normalmap_startarrow-up-right
With this scaffold project, you only need to work on Mesh.cpp and two shaders: normalmap.vert and normalmap.frag.
Unzip the file and copy all the four files to your models directory, including:
Box_normal.obj
Box_normal.mtl
box_BaseColor.png (diffuse texture map)
box_Normal.png (normal map)
Last updated 4 months ago