23 Commits

Author SHA1 Message Date
IntegratedQuantum
9898db654b Specify the location of all shader in/out parameters.
also normalized the version and layout formatting
progress towards #1376
2025-05-02 14:53:57 +02:00
IntegratedQuantum
1b7102768f Remove the time from itemdrop rendering.
This was used for animated textures which isn't necessary anymore.
2025-03-30 12:13:15 +02:00
IntegratedQuantum
ae4b60349e Add basic lighting for item drops.
fixes #623
2025-03-03 19:39:44 +01:00
IntegratedQuantum
22488a28ae CI: Check for trailing spaces and (missing) newlines at the end of the file
fixes #737
2025-02-12 17:36:44 +01:00
IntegratedQuantum
72796f9905 Fix buffer overflow in the item drop shader.
should fix #891
2025-01-04 14:22:00 +01:00
IntegratedQuantum
1dc0cfa010 My driver doesn't seem to like discards in a while loop.
fixes #654
2024-09-01 21:58:06 +02:00
IntegratedQuantum
3a6f55b8e7 Implement block drop rendering and fix a couple synchronization issues. 2024-08-17 11:01:22 +02:00
IntegratedQuantum
d8a3df1aa4 Fix item drops for items with textures.
Fixes the first half of #635
2024-08-10 21:43:49 +02:00
IntegratedQuantum
aba651a998 Add a simple python script to check for common formatting errors (tabs and line endings) and fix existing problems.
a step towards #315
2024-04-16 13:51:22 +02:00
IntegratedQuantum
80a4d2d35a The fog data is now part of the texture.
This is not really optimal, as this doesn't ensure that all textures of a block have the same fog, but this is an important step towards not storing the block id on the GPU and additionally this allows changing the fog of a block in future resource packs.
2024-03-12 11:45:38 +01:00
IntegratedQuantum
a682169562 Add absorption textures - previously absorption was constant throughout the block. 2024-03-11 21:02:56 +01:00
IntegratedQuantum
53657292d7 Add reflectivity mapping and allow opaque blocks to be reflective. 2024-03-08 22:37:55 +01:00
IntegratedQuantum
fa641e57e4 Fix flipped textures and incorrect item textures.
Another problem caused by switching to z-up
2024-03-03 21:02:22 +01:00
IntegratedQuantum
1cc6410ef6 z is now up
Closes #272
2024-02-26 17:31:42 +01:00
IntegratedQuantum
df075aa7df Prevent signed integer modulo in the animation frame calculation.
fixes #176
This created negative values when the time was negative, resulting in wrong animation frames.
2023-11-17 11:39:37 +01:00
IntegratedQuantum
1b7b213c5a Render the air-fog through the same mechanism to ensure that they work well together. 2023-09-11 18:07:41 +02:00
IntegratedQuantum
a65aba58d9 Add glass. 2023-07-17 22:07:42 +02:00
IntegratedQuantum
5ca4ab6a9d Fake reflections and transparency (both absorptive and regular transparency are possible) 2023-07-16 14:09:18 +02:00
IntegratedQuantum
c2e888031f Add a TextInput component that supports multiline text editing. 2023-03-07 20:53:57 +01:00
IntegratedQuantum
c1fac3ff3e render block drops. 2023-01-30 17:03:31 +01:00
IntegratedQuantum
1a3c1e56c9 Pass the normals for itemdrops as vertex attributes. 2023-01-28 16:30:42 +01:00
IntegratedQuantum
159adc9581 Render itemdrops. (still missing block drops) 2023-01-26 17:30:16 +01:00
IntegratedQuantum
b12e61260c image loading, chunks/chunk meshes, starting a bit on rendering. 2022-09-02 19:48:16 +02:00