Commit Graph

79 Commits (main)

Author SHA1 Message Date
cosmonaut f5cdd0b566 fix crash on 0 instance 2020-12-14 00:52:40 -08:00
cosmonaut 808d50ccc2 more sprite mesh rendering 2020-12-13 22:03:06 -08:00
cosmonaut d537993530 flat sprite lighting in deferred pipeline 2020-12-13 22:03:06 -08:00
cosmonaut 3338bf3b06 experimenting with g buffer sprites 2020-12-13 22:03:06 -08:00
cosmonaut 16ecb5afa6 fix bad palette crush FLT_MAX 2020-12-12 21:07:22 -08:00
cosmonaut 51d7f3e772 fix diffuse lit effect not discarding transparency 2020-12-12 01:23:08 -08:00
cosmonaut 3a0aa8894d draw zero alpha pixels in g buffer 2020-12-12 00:17:10 -08:00
cosmonaut c468d6276d texture atlas stuff 2020-12-11 21:05:54 -08:00
cosmonaut d476f254e4 fix sprite mesh normals 2020-12-11 18:52:05 -08:00
cosmonaut 2ff5cb1ca5 decouple sprite mesh from textures 2020-12-11 18:22:54 -08:00
cosmonaut 40ca0402d6 instance data struct 2020-12-10 17:38:18 -08:00
cosmonaut 0ebad486c5 diffuse sprite effect takes uv data 2020-12-10 13:53:55 -08:00
cosmonaut 8ff6e26887 tweak to mesh sprite draws 2020-12-10 00:34:06 -08:00
cosmonaut 7f0bf47f07 implement vertical mesh sprite flipping 2020-12-09 22:31:09 -08:00
cosmonaut 2f589e584d allow sprite flipping on meshsprite 2020-12-09 22:28:51 -08:00
cosmonaut 7964d8a171 store right vector on the camera 2020-12-09 17:47:54 -08:00
cosmonaut d5d0a38ff1 turn point lights into classes and give them a shadow map 2020-12-09 17:10:41 -08:00
cosmonaut ee909ba94e tweak point light rendering 2020-12-09 16:28:40 -08:00
cosmonaut 0060c22d72 point light sphere optimization 2020-12-09 16:10:53 -08:00
cosmonaut 2c113ed642 palette crush effect 2020-12-09 12:44:53 -08:00
cosmonaut b1395babfe offset texture rendering 2020-12-08 22:20:54 -08:00
cosmonaut ef948cf7fb add quaternion utility function 2020-12-08 17:20:10 -08:00
cosmonaut 9a7fb75ec5 refactor for reusing instance buffers 2020-12-08 16:37:22 -08:00
cosmonaut 0c576668cb add instanced linear depth effect + fix platforms 2020-12-08 16:02:58 -08:00
cosmonaut 367e2795ae decouple billboard constraints from meshsprite 2020-12-08 15:29:28 -08:00
cosmonaut 1723f1dff8 change simpledeptheffect to use texcoord0 2020-12-08 13:33:45 -08:00
cosmonaut 14e07c7476 instanced directional shadows 2020-12-08 03:35:06 -08:00
cosmonaut 4b7d31f2b2 refactor directional shadow data 2020-12-08 03:07:41 -08:00
cosmonaut 4d3c5fc316 more shadow decoupling + change world instance to position instance 2020-12-08 02:49:18 -08:00
cosmonaut 96f6d22896 shadow refactor 2020-12-07 21:36:16 -08:00
cosmonaut 84601379b5 major API refactor 2020-12-07 20:10:27 -08:00
cosmonaut fe222e266f started instance based depth render 2020-12-07 18:46:53 -08:00
cosmonaut bb694d3dbe handle case where there are no instances 2020-12-07 15:51:24 -08:00
cosmonaut e2fdbff7d1 cullable instance calls 2020-12-07 14:58:03 -08:00
cosmonaut 283b078641 instanced g buffer draws work now 2020-12-07 14:42:02 -08:00
cosmonaut b784f9df4b trying different shader semantics 2020-12-07 13:50:32 -08:00
cosmonaut 8b43e8f45e start removing global render procedures 2020-12-07 01:57:57 -08:00
cosmonaut ee8b0c5ee8 started adding support for instanced draws + started decoupling API 2020-12-07 01:30:09 -08:00
cosmonaut c9a4e35816 fix meshsprite normal 2020-12-06 19:45:03 -08:00
cosmonaut 7f986c546a abstract frustum culling 2020-12-06 19:36:00 -08:00
cosmonaut fc09082f1b frustum cull meshsprites 2020-12-06 19:27:46 -08:00
cosmonaut 46f2cad81a optimize mesh sprite index buffer 2020-12-06 19:01:23 -08:00
cosmonaut ca6c91446e new mesh sprite and diffuse lit sprite system 2020-12-06 18:52:14 -08:00
cosmonaut 60ebb19e24 pass ambient light to shader 2020-12-05 19:58:29 -08:00
cosmonaut 47242e4f52 initial diffuse lit sprite effect 2020-12-05 19:47:01 -08:00
cosmonaut ae445d94d3 implement different kinds of billboarding 2020-12-04 18:51:59 -08:00
cosmonaut 665ff6dd44 all public facing renderer functions take an RT 2020-12-04 15:49:35 -08:00
cosmonaut 56cdffdff6 remove broken rotation code 2020-12-04 15:46:30 -08:00
cosmonaut acaafdcdcd batched billboard implementation 2020-12-04 15:39:29 -08:00
cosmonaut d83aacd57f remove anycpu and x86 2020-11-22 16:51:22 -08:00