Closed DrUm78 closed 1 year ago
Is this only happening on the funkey fork? If not, it's likely missing a decal-mode shader implementation.
I cannot test right now on another platform but my FunKey fork is up to date with your dos branch.
The soft renderer just has a list of shader IDs in it for which to use decal texturing, defined here. It's likely that I either just forgot the shader ID for the translucent Boo face in there or combine_tex_rgba_decal
is broken.
Does this shader ID exist so I can try to compile with it?
I don't know it. I'll have to log them in gfx_soft_create_and_load_new_shader
and go to that spot in the game.
@fgsfdsfgs I confirm that the issue also happens on Windows DOS port in software mode (built from your repo):
I'm not very familiar with code logging but I tried printf("shader_id=%d\n", shader_id);
before line 688 in gfx_soft.c but all I get is a list of numbers that are not similar to the existing shader_id:
shader_id=18874880
shader_id=69
shader_id=512
shader_id=18876928
shader_id=2560
shader_id=27263045
shader_id=1361
shader_id=17059909
shader_id=94374400
shader_id=18874437
shader_id=84168773
shader_id=17062400
shader_id=27265536
shader_id=909
shader_id=17305729
shader_id=18875277
shader_id=52428869
shader_id=52431360
shader_id=27265647
shader_id=18092101
shader_id=127928832
shader_id=85983744
shader_id=52429312
shader_id=153092608
shader_id=153093005
shader_id=153092165
Should be fixed in da5b744.
Fixed. Thank you for your reactivity as usual. 🙏
Software: SM64 decompilation fork: https://github.com/DrUm78/sm64-funkey Hardware: FunKey S device (armv7 32-bit) with 64MB of RAM
Description: The ghosts have a texture glitch when they are transparent: their face texture is not displayed (see screenshot 2). That's not happening when they are opaque (see screenshot 3).
Steps to reproduce: