Commit graph

38 commits

Author SHA1 Message Date
UnknownShadow200
e6b3d0d080 Use TextureObject struct to abstract 2D textures from OpenGLApi class. 2015-06-25 19:27:07 +10:00
UnknownShadow200
0f7107195f Move uniform setting and shader related functions directly into Shader class. 2015-06-22 19:45:04 +10:00
UnknownShadow200
75db5ab642 Dispose shaders properly. 2015-06-21 07:37:18 +10:00
UnknownShadow200
0b00ab3b0f Do not use hardcoded VertexFormat strides. 2015-06-20 19:15:26 +10:00
UnknownShadow200
6e1f26af10 Simplify shaders. 2015-06-20 16:22:58 +10:00
UnknownShadow200
2f0be00128 Add sheep model, simplify models. 2015-06-20 13:05:52 +10:00
UnknownShadow200
98a443dcae Move models (asides from PlayerModel) to DefaultPlugin. 2015-06-20 12:54:21 +10:00
UnknownShadow200
1f10fbf2d1 Selections shader, started OpenGL api cleanup. 2015-06-20 11:09:08 +10:00
UnknownShadow200
08049fc297 Entity shader. 2015-06-20 10:52:32 +10:00
UnknownShadow200
579f1b7cab More work on gui shader, still not working as of yet. 2015-06-19 20:12:29 +10:00
UnknownShadow200
9489440622 Remove rotation from the one spider leg, as the seven others didn't rotate. 2015-06-02 16:17:50 +10:00
UnknownShadow200
a13b88c81c Use single VB for all other models (untested). 2015-06-01 06:45:22 +10:00
UnknownShadow200
b07dff9bf6 PlayerModel now uses single VB. 2015-06-01 06:29:09 +10:00
UnknownShadow200
2c18ebc5bb Add offset parameter to DrawVb/DrawVbBatch. 2015-06-01 06:17:09 +10:00
UnknownShadow200
aba1ae465c Remove IndexedVbInfo, trim 'Vertex' from VertexFormat enum. 2015-05-31 17:00:34 +10:00
UnknownShadow200
c8ace076f5 Use single DrawVb method. 2015-05-31 16:58:45 +10:00
UnknownShadow200
0889c5f4df Use dynamic VBOs instead of immediate mode. 2015-05-31 12:59:03 +10:00
UnknownShadow200
72609bf2f1 Remove specifying DrawMode for VBs. (as this was only used by display lists) 2015-05-31 07:21:41 +10:00
UnknownShadow200
d49c90c917 Fix non whole blocks and TerrainAtlas2D, fix particles. 2015-05-31 06:33:44 +10:00
UnknownShadow200
d65ba5b226 Cleanup in TextureAtlas2D, rename TextureAtlas2D to TerrainAtlas2D, move Vector3I to own file. 2015-05-27 17:57:39 +10:00
UnknownShadow200
eb3211101d Mobs can use custom textures. 2015-05-19 06:30:52 +10:00
UnknownShadow200
bc77db70e3 Reset texture ids to -1 in DeleteTexture(). 2015-05-14 06:40:33 +10:00
UnknownShadow200
45d0e53a72 Simplify BlockModel. 2015-05-03 06:40:05 +10:00
UnknownShadow200
2e6b4f3e24 Don't crash on invalid block ids in ChangeModel. 2015-04-21 18:59:42 +10:00
UnknownShadow200
a3ebaf75e5 Don't crash if textures for mobs aren't found. 2015-04-21 06:38:07 +10:00
UnknownShadow200
08fdbaf777 Make name render properly above sheep. 2015-04-19 20:02:15 +10:00
UnknownShadow200
4de7be9e41 Simplify model loading code. 2015-04-19 19:59:02 +10:00
UnknownShadow200
04ba5b9a0f Add fur to sheep model. 2015-01-05 15:16:11 +11:00
UnknownShadow200
6039314ab7 Finish spider model, start on sheep (lacks fur), simplify rotations. 2015-01-05 14:13:27 +11:00
UnknownShadow200
8610ff92aa Almost finished spider model, just need to implement all 8 rotated legs. 2015-01-04 19:54:54 +11:00
UnknownShadow200
71e3ae89c9 Started skeleton model, add wings to chicken model. 2015-01-04 17:58:43 +11:00
UnknownShadow200
a305c6dbab Implement ChangeModel CPE extension, fix potential crash. 2015-01-04 13:09:40 +11:00
UnknownShadow200
24ec46f37b Add block model, remove debug things from chicken model, add overload for DrawVertices. 2015-01-04 12:13:07 +11:00
UnknownShadow200
3ade0d8402 Simplify model rendering, add chicken model. 2015-01-04 11:09:04 +11:00
UnknownShadow200
037a8144cc Fix and simplify some things, added skeleton model. 2015-01-04 09:14:18 +11:00
UnknownShadow200
13d4b8470a Pig model, creeper leg fixes. 2015-01-04 08:06:43 +11:00
UnknownShadow200
3faf11c2df Fix some bugs with models. (creeper/zombie not setting alpha test, player/zombies being slightly stretched. 2015-01-03 19:20:52 +11:00
UnknownShadow200
3ec9e3a3e3 Started work on implementing ChangeModel. (zombie model okay, creeper model has weird leg animation) 2015-01-03 18:28:15 +11:00