Almighty Hat (
hat_plays_sims) wrote2010-04-13 07:42 pm
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Entry tags:
Mini Tutorial: Invisible Recolors
It's easier than you'd think to make an invisible object recolor. About half these steps, I picked up from a Lord Darcy tutorial, the rest was from a HugeLunatic tutorial. I figured it was about time to put 'em all in one place.
Start as though making a nice, normal recolor, but substitute a clear .png file of the appropriate size for your largest image. Use Build DDS on DXT3 or DXT5 to maintain transparency.
If you’re lucky, that’s all you need to do. Test your recolor.
Got funky white shiny bits or weird solid black bits? Then you need to look at the TXMT.
Set Reflectivity to 0.0 (or 1)...
Set stdMatAlphaTestEnabled to 1
And stdMatEnvCubeMode to none.
Commit, save, test again.
That should do it!
If it doesn’t?
Set stdMatAlphaBlendMode to blend (lower case B is important)…
Still stuck?
Set stdMatUntexturedDiffAlpha to 0
That has worked on everything I've tried so far. On certain objects, like the OFB crafting tables or Bon Voyage massage tables, some features are attached and would require either cloning or default replacing to change at all.
Start as though making a nice, normal recolor, but substitute a clear .png file of the appropriate size for your largest image. Use Build DDS on DXT3 or DXT5 to maintain transparency.
If you’re lucky, that’s all you need to do. Test your recolor.
Got funky white shiny bits or weird solid black bits? Then you need to look at the TXMT.
Set Reflectivity to 0.0 (or 1)...
Set stdMatAlphaTestEnabled to 1
And stdMatEnvCubeMode to none.
Commit, save, test again.
That should do it!
If it doesn’t?
Set stdMatAlphaBlendMode to blend (lower case B is important)…
Still stuck?
Set stdMatUntexturedDiffAlpha to 0
That has worked on everything I've tried so far. On certain objects, like the OFB crafting tables or Bon Voyage massage tables, some features are attached and would require either cloning or default replacing to change at all.
no subject
This can be REALLY useful :)
no subject
no subject
(Anonymous) 2010-04-16 11:48 pm (UTC)(link)By the way, when are we going to get another State of Hat's Sinuses Update?
no subject
... Do people really WANT an update on my sinuses? Spring seems to be my enemy, generic sudafed my friend...
no subject
(Anonymous) 2010-04-24 06:18 am (UTC)(link)FyrDragon
no subject
no subject
(Anonymous) 2010-04-26 02:35 am (UTC)(link)FyrDragon
no subject
no subject
(Anonymous) 2010-04-26 05:51 am (UTC)(link)FyrDragon
no subject
A few questions about fixing those black bits.
Re: A few questions about fixing those black bits.
You may have to add the stdMat thingies yourself, if the recolor file doesn't already have them. Just make sure they're exactly how I wrote them when you add them. The fact that the options aren't there is probably why you're having trouble doing an alpha edit.
Re: A few questions about fixing those black bits.
If you want to see them in action they're in the December theme thread.
Re: A few questions about fixing those black bits.