Author Topic: FF8 - What's the deal with the textures?  (Read 5912 times)

DLPB_

  • Banned
  • *
  • Posts: 11006
    • View Profile
FF8 - What's the deal with the textures?
« on: 2017-09-07 23:30:14 »
I don't come to this section often... but what's with the boxes around the textures?  Those should not be visible. 

https://drive.google.com/file/d/0B43luAxFZKC-alNyMGUtclBqams/view?usp=sharing

Mcindus

  • *
  • Posts: 929
  • Artist, Modder, Musician.
    • View Profile
    • Lunatic Pandora
Re: FF8 - What's the deal with the textures?
« Reply #1 on: 2017-09-08 21:36:14 »
I don't come to this section often... but what's with the boxes around the textures?  Those should not be visible. 

https://drive.google.com/file/d/0B43luAxFZKC-alNyMGUtclBqams/view?usp=sharing

It has something to do with the way alpha channels are handled in the attacks/magics... some kind of weird 'blue' glow where the atlas tile is being cut out from the master atlas texture.  I saw this a lot as I compiled all of the spell textures for the game.  Does this also happen with Aali's driver?

DLPB_

  • Banned
  • *
  • Posts: 11006
    • View Profile
Re: FF8 - What's the deal with the textures?
« Reply #2 on: 2017-09-08 22:22:04 »
No idea.  But it does with Steam...

Mcindus

  • *
  • Posts: 929
  • Artist, Modder, Musician.
    • View Profile
    • Lunatic Pandora
Re: FF8 - What's the deal with the textures?
« Reply #3 on: 2017-09-08 23:36:20 »
No idea.  But it does with Steam...

Well, what would help you dissect this problem?  Anything I can do to help?

DLPB_

  • Banned
  • *
  • Posts: 11006
    • View Profile
Re: FF8 - What's the deal with the textures?
« Reply #4 on: 2017-09-09 02:25:58 »
I can't fix it :P  Graphics not my thing.  I guess this is mostly for someone like Aali to deal with.

Mcindus

  • *
  • Posts: 929
  • Artist, Modder, Musician.
    • View Profile
    • Lunatic Pandora
Re: FF8 - What's the deal with the textures?
« Reply #5 on: 2017-09-10 00:55:24 »
I can't fix it :P  Graphics not my thing.  I guess this is mostly for someone like Aali to deal with.

Damnit.  Well I guess until we mod it, it will stay like that.  For some reason, the game is applying the 'bloom' effect or whatever it's using for the attacks to the entire texture, regardless of alpha information. someone wasn't very diligent in their porting.

Kaldarasha

  • *
  • Posts: 2449
  • Prince of Model Editing
    • View Profile
Re: FF8 - What's the deal with the textures?
« Reply #6 on: 2017-09-10 06:23:45 »
I think that FF7 has the same issue. It's probably because of the way how they solved it to display transparency on psx which isn't easy to takeover to PC. It pretty much looks like as if they used the brightness of the pixels to calculate the opacity of them, instead to use the texture/pallet with transparency information.

DLPB_

  • Banned
  • *
  • Posts: 11006
    • View Profile
Re: FF8 - What's the deal with the textures?
« Reply #7 on: 2017-09-10 11:31:35 »
The transparency should just be "black = transparent" I think?  0 colour = transparent.  But like everything else, ff7 ports for ff7 and 8 were slap dash and half assed.

Maki

  • 0xBAADF00D
  • *
  • Posts: 624
  • 0xCCCCCCCC
    • View Profile
Re: FF8 - What's the deal with the textures?
« Reply #8 on: 2017-09-10 18:16:34 »
The transparency should just be "black = transparent" I think?  0 colour = transparent.
Yes.

Did you try disabling filtering and testing it afterward? This might be related to their rendering enchantments.

Mcindus

  • *
  • Posts: 929
  • Artist, Modder, Musician.
    • View Profile
    • Lunatic Pandora
Re: FF8 - What's the deal with the textures?
« Reply #9 on: 2017-09-11 22:22:56 »
I think that FF7 has the same issue. It's probably because of the way how they solved it to display transparency on psx which isn't easy to takeover to PC. It pretty much looks like as if they used the brightness of the pixels to calculate the opacity of them, instead to use the texture/pallet with transparency information.

If this is the case, then a tonberry mod should definitely fix the problem.  good thing i've been working on one... with fated courage

Kaldarasha

  • *
  • Posts: 2449
  • Prince of Model Editing
    • View Profile
Re: FF8 - What's the deal with the textures?
« Reply #10 on: 2017-10-25 19:57:13 »
This might be not entirely correct, but as I said I think that the Gears engine does use an extra texture to define where the model is transparent and were not. Take a look at this:
Of course this is from FFX a PS2 game, but it shows exactly what I mean.

Because the real transparency texture isn't used and only a transparency by brightness is used instead, we see these strange box like effects. So far I can tell that even the remastered FFX version has this issue, but I can only see that is an issue for the hair so far.

Mcindus

  • *
  • Posts: 929
  • Artist, Modder, Musician.
    • View Profile
    • Lunatic Pandora
Re: FF8 - What's the deal with the textures?
« Reply #11 on: 2017-10-26 01:48:23 »
This might be not entirely correct, but as I said I think that the Gears engine does use an extra texture to define where the model is transparent and were not. Take a look at this:
Of course this is from FFX a PS2 game, but it shows exactly what I mean.

Because the real transparency texture isn't used and only a transparency by brightness is used instead, we see these strange box like effects. So far I can tell that even the remastered FFX version has this issue, but I can only see that is an issue for the hair so far.

Tonberry dumps the VRAM files as bmps with a tranparency layer.  For some reason, the transparency layer is only 50% greyscale/black instead of 100% white/black alpha, but I think the game converts the 127 (grey) value into 255, much like how games only use the blue channel for the Z information in a normal map, which is 'blue' by nature, because 128-255 is positive Z info, and 0-127 is negative (most games don't use negative z information in normal maps).  For some reason, the PC version isn't assigning a 'pure' alpha black to the magic textures. It could be that the 'bloom' or whatever is added as a post processing effect is making it 'glow' because of that fact, but I think Tonberry can cirumvent that.  I'll post screenshots that demonstrate what I mean, and see if i can 'whip up' a quick fix demonstration using Tonberry.