Now bump mapping works
This commit is contained in:
1 parent
d49d09a1e5
commit
f346e55819
3 files changed
+92
-3
No files matched your search
@@ -55,12 +55,18 @@ namespace SE
|
||||
std::vector<vec3> PositionData;
|
||||
std::vector<vec2> TexCoordData;
|
||||
std::vector<vec3> NormalData;
|
||||
std::vector<vec3> TangentData;
|
||||
std::vector<vec3> BitangentData;
|
||||
|
||||
std::shared_ptr<VAOHolder> vao;
|
||||
std::shared_ptr<VBOHolder> positionVBO;
|
||||
std::shared_ptr<VBOHolder> texCoordVBO;
|
||||
std::shared_ptr<VBOHolder> normalVBO;
|
||||
std::shared_ptr<VBOHolder> tangentVBO;
|
||||
std::shared_ptr<VBOHolder> bitangentVBO;
|
||||
void RefreshVBO();
|
||||
|
||||
void CalcTangentBitangent();
|
||||
};
|
||||
|
||||
struct T2DQuad
|
||||
|
||||
Reference in new issue
Block a user