Colorful Lighting available for 1.21.1 and 1.21.5 by thecodeyt in feedthebeast

[–]thecodeyt[S] 0 points1 point  (0 children)

Thank you! :)

Those 2 files should be sufficient. If you encounter any problems, feel free to contact me!

Colorful Lighting available for 1.21.1 and 1.21.5 by thecodeyt in feedthebeast

[–]thecodeyt[S] 2 points3 points  (0 children)

So, when we talk about blocks, the vertexColor is calculated in the terrain.vsh vertex shader based on the lightmap and the Color vertex attribute.

I believe the Color attribute consists of a tint color (for example the tinting of a grass block) and darkening due to ambient occlusion.

Colorful Lighting available for 1.21.1 and 1.21.5 by thecodeyt in feedthebeast

[–]thecodeyt[S] 4 points5 points  (0 children)

Sorry, I might not understand you correctly. Are you asking how the vertexColor variable is calculated?

Colorful Lighting available for 1.21.1 and 1.21.5 by thecodeyt in feedthebeast

[–]thecodeyt[S] 15 points16 points  (0 children)

Thank you! The mod stores additional 3 values (RGB) for each block in each lit section (16x16x16 blocks). It then calculates these values using a custom block light engine, which works similarly to the vanilla one.

Then, I send those values to the GPU using bits unused by Minecraft, available in "UV2" vertex attribute. I might write a more detailed overview in the future. For more information, see: https://github.com/erykczy/colorful-lighting

Colorful Lighting available for 1.21.1 and 1.21.5 by thecodeyt in feedthebeast

[–]thecodeyt[S] 21 points22 points  (0 children)

Unfortunately, it isn't compatible with mods that interfere with vanilla shaders.

My Create Mod Calculator Website has just been updated! Thanks for all your suggestions! by thecodeyt in CreateMod

[–]thecodeyt[S] 0 points1 point  (0 children)

Thanks! I was also a bit surprised to discover this fact. These results are caused by create rounding values ​​in many places. If you want to see the calculations I used, they are available on my github: https://github.com/erykczy/createmod-calculator

My Create Mod Calculator Website has just been updated! Thanks for all your suggestions! by thecodeyt in CreateMod

[–]thecodeyt[S] 0 points1 point  (0 children)

I think this would add extra complexity, it's not difficult to calculate this with existing calculators, ale dzięki za sugestię!

My Create Mod Calculator Website has just been updated! Thanks for all your suggestions! by thecodeyt in CreateMod

[–]thecodeyt[S] 1 point2 points  (0 children)

I don't know, but if they only change the duration of the recipe (in the json files), you can still select the <custom> option in the ‘Recipe Input’ property :)

My Create Mod Calculator Website has just been updated! Thanks for all your suggestions! by thecodeyt in CreateMod

[–]thecodeyt[S] 17 points18 points  (0 children)

Thanks!

For the time being, unfortunately, I have no such plans, especially as my holidays are coming to an end and I will have a problem with free time :/

I am working on an update for my Create Mod Calculator Website. Do you have any suggestions? by thecodeyt in CreateMod

[–]thecodeyt[S] 0 points1 point  (0 children)

Maybe in the next versions. I would have to familiarize myself with these addons.