aod6060 / FirstPersonShooter

This is going to be a First Person Shooter game made from scratch
MIT License
1 stars 0 forks source link

Update 5 - Add in the ability to use face normals on static mesh. #19

Closed aod6060 closed 9 years ago

aod6060 commented 9 years ago

A lot of objects need to use vertex normals. However, some objects just need to use simple face normals.

aod6060 commented 9 years ago

I got this done really quickly. This simple fix helps with certain objects that don't really need to have vertex normals like boxes. Here is some pictues of the results.

Compare all objects. Note its under the map because I don't have terrain collsion implemented yet. I'm using a simple static plane which is going to be used to teloport entities back to the map above if they fell through it. addfacens1

Upclose of the crate mesh addfacens2

up close of the enemy addfacens3

As seen from the pictures the models look nice with the lighting. I dumbfounded of why I didn't do this sooner.