PojavLauncherTeam / PojavLauncher

A Minecraft: Java Edition Launcher for Android and iOS based on Boardwalk. This repository contains source code for Android platform.
GNU Lesser General Public License v3.0
6.87k stars 1.29k forks source link

[BUG] Shadow bug with entity models #6281

Closed zozogame1 closed 14 hours ago

zozogame1 commented 1 week ago

Describe the bug

Entity models seems to be glitched with some sort of shadow bug. This includes the player himself, items (dropped or not) and mobs like animals or hostile one.

The log file and images/videos

latestlog.txt Screenshot_20241115_073149_net_kdt_pojavlaunch_MainActivity Screenshot_20241115_073158_net_kdt_pojavlaunch_MainActivity Screenshot_20241115_073208_net_kdt_pojavlaunch_MainActivity Screenshot_20241115_073424_net_kdt_pojavlaunch_MainActivity Screenshot_20241115_073647_net_kdt_pojavlaunch_MainActivity

Steps To Reproduce

1. Start pojavlauncher 
2. Create/load a world (IN ALPHA VERSIONS)
3. See by yourself

Expected Behavior

I thought the entity models would be fine.

Platform

- Device model: Honor 70 Lite
- CPU architecture: arm64
- Android version: 14
- PojavLauncher version: foxglove-20240922-a6a6a29-v3_openjdk

Anything else?

No response

BUGAMING7355 commented 1 week ago

What renderer you are using?

zozogame1 commented 5 days ago

What renderer you are using?

The one by default

zozogame1 commented 5 days ago

I tried the other one (ZINK) and pretty much the same problem but it's flashing

https://github.com/user-attachments/assets/25aeb57e-0a13-406a-9a9f-5292b5e10850

GaucovyAero commented 14 hours ago

in /storage/emulated/0/Android/data/net.kdt.pojavlaunch/files/custom_env.txt (if it doesnt exist, create that file)

if you put LIBGL_ES=2 into custom_env.txt, on gl4es, you are going to get this issue

if you put LIBGL_ES=1 into custom_env.txt, on gl4es, all entities are going to be lit up but the halved lighting isnt going to be there

if you really wanna fix it, you have to install optimine/optifine (means using minecraft b1.1_02 or higher) the reindev minecraft mod also has this halved lighting pojav issue fixed https://www.mediafire.com/file/y0qkkyibyuz7tp1/OptiFine_History_b1.1_02_-_b1.9p5_v2.zip/file