lucastle6969 / comp371

repository for comp371 final project Fall 2017 Concordia
0 stars 0 forks source link

Tree textures Approach2 & Normals #81

Closed KNG-Scherezade closed 6 years ago

KNG-Scherezade commented 6 years ago

Had trouble getting my brain around what I was doing and how to approach the problem. Texture result isn't perfect, but pretty good. I'm going to be editing the codeflow since I wasn't paying attention to organization. Please accept if you think it looks good.

TreeA has a summer and autumn version. Types split into TreeA and TreeA_Autumn. TreeB and Cs have one texture each.

Normals are there for all vertices. However I can't test them since they're not getting effected by the scene, or maybe I got them backwards...

benwiley4000 commented 6 years ago

Can you try flipping the normals?

benwiley4000 commented 6 years ago

An easy way to test that would be to just put a negative sign in front of the normal assignment in the vertex shader - if it works then only the trees would be rendered.