December 27, 2024, 10:42:56 PM

Author Topic: transparency in character textures  (Read 12038 times)

pronzilla

  • Sex Sim Rock Star
  • Sr. Member
  • *****
  • Posts: 189
  • what does this button do? <fx:ka-boom>
    • View Profile
transparency in character textures
« on: February 26, 2011, 01:32:54 PM »
In the course of some crazy experimentation1 I tried using transparency in a character texture (specifically, head). It didn't work - it looked like there was some other texture "behind" mine. 

Is this a bug, or is it meant to work like that? 

(not necessarily a request to change the behaviour, more a query along the lines of "have I goofed somewhere?" and "what's it supposed to do?")

1I'm playing with an idea for a non-human "girl" and wanted to give her nictating membranes, rather than regular eyelids, for extra alien-ness.
Please remix my stuff! Use anything I've posted here as the base for your own work.  Please post it here too!

Want more girls?  Pronzilla's People Permutor makes more by mixing up the ones you've already got

Jak (ripened peach)

  • Administrator
  • Hero Member
  • *****
  • Posts: 1236
  • I codes the codes
    • View Profile
    • Ripened Peach Entertainment
Re: transparency in character textures
« Reply #1 on: February 26, 2011, 01:50:53 PM »
If you want to send me the texture you were trying out I'd like to see what happened.

The alpha channel in the current Sex Sim character texture shader is used for specularity, not transparency, so there's no way at this point to have transparent skin for instance.  Down the road I'm going to try out some new shader techniques and see if I can get transparency in there via a separate map, but right now you're not doing anything wrong, it just doesn't work the way you would think (alpha as transparency).

pronzilla

  • Sex Sim Rock Star
  • Sr. Member
  • *****
  • Posts: 189
  • what does this button do? <fx:ka-boom>
    • View Profile
Re: transparency in character textures
« Reply #2 on: February 27, 2011, 08:16:45 AM »
Ah.  The texture was nothing sophisticated; I just opened up a basic one in gimp, and erased a chunk to transparent, to see what would happen.

The texture I was seeing "behind" was presumably the stuff remaining in the other three (i.e. non-alpha) channels.

Re: alpha=specularity, that could be fun to play with, too.  How does that work?  Presumably one extreme of the alpha channel maps to very "shiny", and the other extreme maps to matt/non-reflective?

Please remix my stuff! Use anything I've posted here as the base for your own work.  Please post it here too!

Want more girls?  Pronzilla's People Permutor makes more by mixing up the ones you've already got

pronzilla

  • Sex Sim Rock Star
  • Sr. Member
  • *****
  • Posts: 189
  • what does this button do? <fx:ka-boom>
    • View Profile
Re: transparency in character textures
« Reply #3 on: February 27, 2011, 02:23:02 PM »
thinking about it, presumably the bump map is involved, too...
Please remix my stuff! Use anything I've posted here as the base for your own work.  Please post it here too!

Want more girls?  Pronzilla's People Permutor makes more by mixing up the ones you've already got

Jak (ripened peach)

  • Administrator
  • Hero Member
  • *****
  • Posts: 1236
  • I codes the codes
    • View Profile
    • Ripened Peach Entertainment
Re: transparency in character textures
« Reply #4 on: February 27, 2011, 02:41:22 PM »
Going to give you some good answers as soon as I wrap up this update... knee deep in code at the moment!

 

SMF spam blocked by CleanTalk