Some entities are empty white from the top when shaders are disabled #995

Closed
opened 2021-01-21 20:50:13 +01:00 by kay27 · 30 comments
Contributor

image

![image](/attachments/4e91ad6a-d00d-4e8a-9fd9-0452dd85ea12)
230 KiB
kay27 added the
needs more information
label 2021-01-21 20:50:13 +01:00

Same here. Happens when shaders are disabled.

Same here. Happens when shaders are disabled.
Author
Contributor

Shaders, wow O_o
@missingcoconut Thanks so much for the confirmation but I have two identical double chests, and one of them has correct texture, and next one, with absolutely same orientation (F5 - param2 value), is black
Also it's weird for me that when I break double chest it transforms to regular one

Shaders, wow O_o @missingcoconut Thanks so much for the confirmation but I have two identical double chests, and one of them has correct texture, and next one, with absolutely same orientation (F5 - param2 value), is black Also it's weird for me that when I break double chest it transforms to regular one

The chests do have textures, but have a light level of zero. Happens with other things (e.g. enchanting table books) too.

Also it's weird for me that when I break double chest it transforms to regular one

What is weird with that? Thats just normal behavior.

The chests do have textures, but have a light level of zero. Happens with other things (e.g. enchanting table books) too. > Also it's weird for me that when I break double chest it transforms to regular one What is weird with that? Thats just normal behavior.
LizzyFleckenstein03 changed title from Some chests have no textures to Some entities are pitch black when shaders are disabled 2021-01-22 09:34:39 +01:00
Contributor

Also it's weird for me that when I break double chest it transforms to regular one

What is weird with that? Thats just normal behavior.

There's clearly enough light for everything else to be visible in that screenshot, including the other chest. Also, I'm sure he meant that while the double chest looked black, he mined half of the chest and the other half got its texture from being black previously.

@kay Try making it again a double chest and mine the other half, to see if only one side generates this issue. Then maybe look if there's anything that might obstruct the problematic side.

I tried 0.7.0 with the shaders disabled and I couldn't reproduce that issue. How does your Settings page look like? I should try those.

> > Also it's weird for me that when I break double chest it transforms to regular one > > What is weird with that? Thats just normal behavior. There's clearly enough light for everything else to be visible in that screenshot, including the other chest. Also, I'm sure he meant that while the double chest looked black, he mined half of the chest and the other half got its texture from being black previously. @kay Try making it again a double chest and mine the other half, to see if only one side generates this issue. Then maybe look if there's anything that might obstruct the problematic side. I tried 0.7.0 with the shaders disabled and I couldn't reproduce that issue. How does your Settings page look like? I should try those.
Author
Contributor

I tried 0.7.0 with the shaders disabled and I couldn't reproduce that issue. How does your Settings page look like? I should try those.

There are, well, coordinates, server is kay27.ignorelist.com:30000.
All players see the same, with different hardware and settings.

> I tried 0.7.0 with the shaders disabled and I couldn't reproduce that issue. How does your Settings page look like? I should try those. There are, well, coordinates, server is kay27.ignorelist.com:30000. All players see the same, with different hardware and settings.
Contributor

I got these messages when I joined:
Could not load image "default_chest_side.png"/"default_chest_front.png"

That might be the issue. :)

P.S. It also complained about "protector_logo.png"

I got these messages when I joined: `Could not load image "default_chest_side.png"/"default_chest_front.png"` That might be the issue. :) P.S. It also complained about "protector_logo.png"
Author
Contributor

I got these messages when I joined:
Could not load image "default_chest_side.png"/"default_chest_front.png"

That might be the issue. :)

Nope, I tried to reset the textures to default state, there was no Irrlicht warning message, but the result is on the screenshot, unfortunately

P. S. Server restarter script spoils updates, especially when the updater updates the textures, I'll have fixed it in 3-4 hours, but this isn't the issue... but it can prevent from seeing the real result, so welcome after 3-4 hours :)

> I got these messages when I joined: > `Could not load image "default_chest_side.png"/"default_chest_front.png"` > > That might be the issue. :) Nope, I tried to reset the textures to default state, there was no Irrlicht warning message, but the result is on the screenshot, unfortunately P. S. Server restarter script spoils updates, especially when the updater updates the textures, I'll have fixed it in 3-4 hours, but this isn't the issue... but it can prevent from seeing the real result, so welcome after 3-4 hours :)
Contributor

I can see the double chests properly now, so it looks like you fixed it.

P.S. Nope, it's something else. All the chests in my house look normal, even with those errors. Check these out:

My chests at home

Problematic chests at coordinates given by kay27

And I've seen single chests having the same issues in other places. It's weird.

I can see the double chests properly now, so it looks like you fixed it. P.S. Nope, it's something else. All the chests in my house look normal, even with those errors. Check these out: ![My chests at home](https://i.imgur.com/DmScpYs.jpg) ![Problematic chests at coordinates given by kay27](https://i.imgur.com/KGIRQPo.jpg) And I've seen single chests having the same issues in other places. It's weird.
Contributor

I made some extensive testing on your server. I found over 100 chests (in spawners and mineshafts), and all of those facing West were black.

The one owned by Durak is an exception, just as are those at my place, which also face West but look normal. Maybe those on the ground or under a certain Y have this issue. I'll do some more testing.

I made some extensive testing on your server. I found over 100 chests (in spawners and mineshafts), and all of those facing West were black. The one owned by Durak is an exception, just as are those at my place, which also face West but look normal. Maybe those on the ground or under a certain Y have this issue. I'll do some more testing.

I can kinda immagine how this works.

I can kinda immagine how this works.
Author
Contributor

when I dig holes in stones and put chests there - they almost always black, don't depend on the direction
image

when I dig holes in stones and put chests there - they almost always black, don't depend on the direction ![image](/attachments/648c9771-ef2d-45bb-9152-17c32cebb125)
Author
Contributor

Happens with other things (e.g. enchanting table books) too.

Can't reproduce with them
Please give some example, or we may close the issue

> Happens with other things (e.g. enchanting table books) too. Can't reproduce with them Please give some example, or we may close the issue
kay27 added the
graphics
label 2021-01-22 21:58:11 +01:00

I seem to be facing a different problem. Reproducible on all my ARM devices.
EDIT 2: original debug.txt was from 2020 >.<
Found this:
WARNING[Main]: Irrlicht: Could not create ITexture, texture needs to have a non-empty name.

I seem to be facing a different problem. Reproducible on all my ARM devices. EDIT 2: original debug.txt was from 2020 >.< Found this: WARNING[Main]: Irrlicht: Could not create ITexture, texture needs to have a non-empty name.
Member

@missingcoconut isn't that elias fleckenstein03's animated chests? I have the same problem with that.
@kay27 (screenshot), it's not because of my texture package :)

@missingcoconut isn't that elias fleckenstein03's animated chests? I have the same problem with that. @kay27 (screenshot), it's not because of my texture package :)

@NO11 It is indeed.

@NO11 It is indeed.
Author
Contributor

I seem to be facing a different problem. Reproducible on all my ARM devices.
EDIT 2: original debug.txt was from 2020 >.<
Found this:
WARNING[Main]: Irrlicht: Could not create ITexture, texture needs to have a non-empty name.

I've found the similar unconfirmed minetest issue: https://github.com/minetest/minetest/issues/10424

Can you please try to clear application cache and reconnect? It can be related to cached media but I can't understand it clearly from the log

> I seem to be facing a different problem. Reproducible on all my ARM devices. > EDIT 2: original debug.txt was from 2020 >.< > Found this: > WARNING[Main]: Irrlicht: Could not create ITexture, texture needs to have a non-empty name. I've found the similar unconfirmed minetest issue: https://github.com/minetest/minetest/issues/10424 Can you please try to clear application cache and reconnect? It can be related to cached media but I can't understand it clearly from the log
Author
Contributor

@NO11 what's wrong with this screenshot?

@NO11 what's wrong with this screenshot?
Member

@NO11 what's wrong with this screenshot?

The entchanting table book texture didn't load
You asked here:

Happens with other things (e.g. enchanting table books) too.

Can't reproduce with them
Please give some example, or we may close the issue

> @NO11 what's wrong with this screenshot? The entchanting table book texture didn't load You asked here: > > Happens with other things (e.g. enchanting table books) too. > > Can't reproduce with them > Please give some example, or we may close the issue

Can you please try to clear application cache and reconnect? It can be related to cached media but I can't understand it clearly from the log

Didnt work. Raspberry Pi works with shaders on.
On Android I'm screwed.

> Can you please try to clear application cache and reconnect? It can be related to cached media but I can't understand it clearly from the log Didnt work. Raspberry Pi works with shaders on. On Android I'm screwed.
Author
Contributor

Hm, I've checked that and I do confirm...

image
image

White cap has some strange noise from its bottom.

@missingcoconut Seems we should debug it somehow? Empty texture name fits, but it is client side! So maybe it even doesn't relate to MineClone 2 itself...

Hm, I've checked that and I do confirm... ![image](/attachments/fe438e2a-2f74-452e-ab77-50b94c6fb156) ![image](/attachments/faf8b760-136f-435d-a129-fab65466655c) White cap has some strange noise from its bottom. @missingcoconut Seems we should debug it somehow? Empty texture name fits, but it is client side! So maybe it even doesn't relate to MineClone 2 itself...
1.2 MiB
1.0 MiB

@kay27 I think the noise is z-fighting.
Do you see the empty texture message on X86 builds?
I do not have one right now, sorry.

@kay27 I think the noise is z-fighting. Do you see the empty texture message on X86 builds? I do not have one right now, sorry.
Author
Contributor

Do you see the empty texture message on X86 builds?

No, 32bit and 64bit versions both look okay, start without warnings

> Do you see the empty texture message on X86 builds? No, 32bit and 64bit versions both look okay, start without warnings

No, 32bit and 64bit versions both look okay, start without warnings

@kay27 With or without shaders? Any discrepancy between the two?

> No, 32bit and 64bit versions both look okay, start without warnings @kay27 With or without shaders? Any discrepancy between the two?
Author
Contributor

Wow, I've tried to disable shaders and got white cap on PC, both x86 and x64

Wow, I've tried to disable shaders and got white cap __on PC, both x86 and x64__
Author
Contributor

Have no time right now to check what's wrong. But regular chests look good. Maybe double chests need own obj file there https://git.minetest.land/Wuzzy/MineClone2/src/branch/master/mods/ITEMS/mcl_chests/models ?

Have no time right now to check what's wrong. But regular chests look good. Maybe double chests need own obj file there https://git.minetest.land/Wuzzy/MineClone2/src/branch/master/mods/ITEMS/mcl_chests/models ?

Wow, I've tried to disable shaders and got white cap

Interesting. I was under the impression this was ARM specific... I'm unsure how to proceed with this.

> Wow, I've tried to disable shaders and got white cap Interesting. I was under the impression this was ARM specific... I'm unsure how to proceed with this.
LizzyFleckenstein03 added this to the 0.71.0 milestone 2021-01-26 14:04:23 +01:00
Author
Contributor

So 'pitch black' issue resolves by slightly lifting up the entity from solid block.

It is now fixed.

But white shapes instead of the textures when shaders disabled - this problem is still existing. Simple way to reproduce it: disable shaders and put regular chest (looks okay) and double chest or enchanting table (has empty white cap/upper part, which is wrong).

I'm currently unsure what to do with that, need to debug somehow, but it's related to b3d objects and I haven't experience of processing them.

I tested it with latest 5.4 - nothing changed. Tried to open b3d files in Blender but can't. It doesn't affect the gameplay too much but... of course annoying, so any help would be very welcome.

So 'pitch black' issue resolves by slightly lifting up the entity from solid block. It is now fixed. But white shapes instead of the textures when shaders disabled - this problem is still existing. Simple way to reproduce it: disable shaders and put regular chest (looks okay) and double chest or enchanting table (has empty white cap/upper part, which is wrong). I'm currently unsure what to do with that, need to debug somehow, but it's related to b3d objects and I haven't experience of processing them. I tested it with latest 5.4 - nothing changed. Tried to open b3d files in Blender but can't. It doesn't affect the gameplay too much but... of course annoying, so any help would be very welcome.
kay27 added the
bug
label 2021-01-29 00:14:32 +01:00
kay27 added the
annoying
needs research
items
help wanted
labels 2021-01-29 00:16:41 +01:00
kay27 changed title from Some entities are pitch black when shaders are disabled to Some entities are empty white from the top when shaders are disabled 2021-01-29 00:18:55 +01:00

You might have noticed that it doesn't happen to the small chest. What do the big chest and the shukerbox have in common? Their models were both exported by myself. The small chest was taken from the amc mod (exported by 22i). I'll try to fix it for the shulkerbox by using 22i's model. b3d files can't be opened using blender, you need .blend files - b3d files are just exported files that minetest can handle.

You might have noticed that it doesn't happen to the small chest. What do the big chest and the shukerbox have in common? Their models were both exported by myself. The small chest was taken from the amc mod (exported by 22i). I'll try to fix it for the shulkerbox by using 22i's model. b3d files can't be opened using blender, you need .blend files - b3d files are just exported files that minetest can handle.

Ok, using 22i's shulkerbox model didn't help (the amc shulkerbox.b3d is apparently exported from shulkerbox2.blend, but that is the small model) but I made it to export the shulkerbox model myself. I'm gonna give double chests a shot.

EDIT: Doublechests don't work. I'm going to ask 22i for help.

Ok, using 22i's shulkerbox model didn't help (the amc shulkerbox.b3d is apparently exported from shulkerbox2.blend, but that is the small model) but I made it to export the shulkerbox model myself. I'm gonna give double chests a shot. EDIT: Doublechests don't work. I'm going to ask 22i for help.

This is fixed now.

This is fixed now.
Sign in to join this conversation.
No Milestone
No project
No Assignees
5 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: VoxeLibre/VoxeLibre#995
No description provided.