Author Topic: Diffuse-only texture replacement?  (Read 1269 times)

0 Members and 1 Guest are viewing this topic.

Offline Galemp

  • Actual father of Samus
  • 212
  • Ask me about GORT!
    • Steam
    • User page on the FreeSpace Wiki
Diffuse-only texture replacement?
Some of the texture-replacement code implementations (nameplates, reskins) are really only replacing the diffuse map; that is, they represent a new paint scheme, and generally use the same glow, shine, and normal maps. I've been working on a load of reskins for the TAC 1, and the thought of having to include an identical glow, shine, and normal map for each of the 20 variations seems like a waste of space and memory.

Is it possible to fork the texture replacement function so that we have a new one that only swaps out the diffuse map?
"Anyone can do any amount of work, provided it isn't the work he's supposed to be doing at that moment." -- Robert Benchley

Members I've personally met: RedStreblo, Goober5000, Sandwich, Splinter, Su-tehp, Hippo, CP5670, Terran Emperor, Karajorma, Dekker, McCall, Admiral Wolf, mxlm, RedSniper, Stealth, Black Wolf...

 

Offline DaBrain

  • Screensniper
  • 212
    • Shadows of Lylat board
Re: Diffuse-only texture replacement?
Those things would be done within the material system.
Any other solution is more like a hack.

I guess we'll just have to wait a bit.
--------------------------------------------------
SoL is looking for a sound effect artist
Please PM me in case you want to apply
---------------------------------
Shadows of Lylat - A Freespace 2 total conversion
(hosted by Game-Warden)
----------------------------------

  

Offline blowfish

  • 211
  • Join the cult of KILL MY ROUTER!!!!!!!!!!1
Re: Diffuse-only texture replacement?
I have an idea of how it could be done pretty easily, though as DaBrain said, it is kind of a hack...