28 Commits

Author SHA1 Message Date
Pedro Gimeno
040c8d5d07 Fix waving vertex shader
It's everything commented out so it technically works, but this way it's ready for the time when it's enabled again.
2020-02-24 10:38:08 +01:00
Pedro Gimeno
4b725b8db3 Fix some issues with the comparison of varying variables 2020-02-21 12:22:28 +01:00
Pedro Gimeno
832b8d1cb0 Add comment about needing to be in sync 2020-02-21 12:04:08 +01:00
Pedro Gimeno
fc08f84151 Remove special lighting of flowers
It was affecting grass too.
2020-02-21 12:01:47 +01:00
Pedro Gimeno
a89f0dbb1d Map face numbers in the shader as well 2020-02-21 11:42:12 +01:00
Quentin Bazin
cb356b4a3b Shaders don't use blockID anymore. Fixes #48. 2020-02-19 19:30:07 +09:00
Quentin Bazin
abe0385384 [ChunkBuilder] Small fix. [TODO] Updated. 2020-01-31 16:44:27 +09:00
Quentin Bazin
a3b85e1d5c Grass, logs, workbench and furnace: OK. 2020-01-31 16:44:27 +09:00
Quentin Bazin
5b2a1758ef Now using filenames instead of IDs when loading/retrieving textures. 2020-01-31 16:44:27 +09:00
Quentin Bazin
2ea669156d [fog.f.glsl] Fixed water transparency. 2020-01-24 13:14:20 +09:00
Quentin Bazin
a55b66dc37 [game.f.glsl] Fixed flicker for some video cards by @pgimeno. Closes #23. 2019-03-03 13:44:49 +01:00
Quentin Bazin
9bb9fe7037 [README.md] Updated. 2019-02-03 14:21:07 +01:00
Quentin Bazin
f2e8bc2842 [game.f.glsl] Small graphical improvements. 2019-02-01 20:35:03 +01:00
Quentin Bazin
d5e49be7ec [ChunkBuilder] New draw type added for flowers. 2019-01-05 05:41:18 +01:00
Quentin Bazin
30e893db69 [ChunkBuilder] Real ambient occlusion added.
Credits goes to this awesome article: https://0fps.net/2013/07/03/ambient-occlusion-for-minecraft-like-worlds/
2018-12-31 07:45:11 +01:00
Quentin Bazin
3b8124b795 [ChunkLightmap] Small tweaks. 2018-07-09 13:52:31 +02:00
Quentin Bazin
23cc904cf3 [fog.f.glsl] Small fix. Now using sky color instead of a transparent color. 2018-07-06 17:47:31 +02:00
Quentin Bazin
35ea412434 [Chunk|ChunkBuilder] Third layer added for leaves. 2018-07-06 16:25:09 +02:00
Quentin Bazin
16463b99ca [RenderStates] Bitfield for vertex attributes added. 2018-07-02 12:54:12 +02:00
Quentin Bazin
59cf061e97 [Crosshair] Small tweaks. 2018-06-30 20:09:01 +02:00
Quentin Bazin
aecadf3976 [Crosshair] Now using rectangles. Added proper blending. 2018-06-30 18:39:08 +02:00
Quentin Bazin
d1f24d9461 [BlockCursor] Block destruction animation is finally transparent. 2018-06-29 23:38:41 +02:00
Quentin Bazin
5435ad309a [basic.f.glsl] Small cube preview lighting fix. 2018-06-29 19:33:59 +02:00
Quentin Bazin
8843c8f346 [Hotbar] Small improvements. [ItemWidget] Cube size increased. [game.v.glsl] Small fix on leaves movement. 2018-06-27 00:20:26 +02:00
Quentin Bazin
4f8628c9e5 [Image] Color now supported. [Text] Now displays text shadow. 2018-06-26 05:42:06 +02:00
Quentin Bazin
b112cc0c02 [Cube] Small improvements. 2018-06-26 04:17:00 +02:00
Quentin Bazin
3809e808d2 [RectangleShape] Added. [InventoryState] Dark background added. 2018-06-25 23:29:50 +02:00
Quentin Bazin
3a62fdc598 [shaders|textures] Moved into 'resources' folder. [Types->IntTypes] Renamed. 2018-06-25 18:42:50 +02:00