MrJake222 / AUNIS

Stargate-inspired Minecraft Mod
GNU General Public License v3.0
44 stars 20 forks source link

event horizon is just white on stargate universe gate #240

Open SinonTechnicolour opened 3 years ago

SinonTechnicolour commented 3 years ago

Hiya, not sure if i have done something wrong, but the event horizon on the sgu gate is just white with no textures or anything. it all works but it is just white and I am not sure why?

Beyley commented 3 years ago

Its a problem with the animated event horizon, disabling it should work

MrJake222 commented 3 years ago

The animated texture is quite vram (your graphics card memory) hungry. People with 1GB of VRAM were seen having issues with it. You can disable it in config.

KiraLinux commented 3 years ago

mod in size 24 megabytes but why 1 gigabyte of video memory is not enough for textures that are much smaller?

MrJake222 commented 3 years ago

Compression. GPU won't decompress each frame on the fly, so the CPU does it when Minecraft starts. There are 185 frames, each around 1100x1100 pixels. This gives 223 850 000 pixels. Each is 3 bytes (R-G-B). 671 550 000 bytes. This is 671.55 MB. Aaaand there are 2 of them (Normal and black&white). And Minecraft and your OS allocates some of VRAM too. I'm aware of the flaws of this design and If someone has a better one, I'm listening. I'm not familiar how such animations are done in real games.

In short, JPG compression does the magic.

KiraLinux commented 3 years ago

I suggest adding textures with a resolution of 550x550 and optionally in the config do not touch the number of frames

this will solve the problem of weak computers and laptops, but the animated texture will be preserved

I know you introduced disabling animated textures but there are also some players who are suitable for low-resolution animated textures, so let's say the middle option

MrJake222 commented 3 years ago

I'm pretty sure a texture pack could handle this ;)