Jump to content

Photo

Colorizing Grey Base Textures...?

texture color material armor clothes weapons furniture clutter

  • Please log in to reply
15 replies to this topic

#11
DeathMotif

DeathMotif

    Fan

  • Premium Member
  • 298 posts
One thing I'd like to see is layered materials to build up more complex textures. I can do it now, like I did with my resubmission of the Kerrigan Bodysuit, but it requires duplicating meshes. So, great. I can layer a secondary color and a glow effect on my model, but at the cost of increasing my poly count for each new texture. Not very efficient. If only I had access to the source code, I could probably whip up my layered material idea pretty quickly. Not only that, but if done correctly, I could envision animated textures (similar to apng) for more specialized effects. I digress.

#12
DeathMotif

DeathMotif

    Fan

  • Premium Member
  • 298 posts

Ok.  I give up.  VIitS, do you have any idea how to do this?  I have tried every combination I can think of.  I have Grayscale To Palette Color set in the BGSMs.  I have GreyscaleToPalette_Color set in Shader Flags 1 in the NIFs.  My OMODs have a ColorRemappingIndex property with the appropriate float values for the color palette.  I'm able to construct the mod in game.  As far as I can tell, everything is correct.  However, the color values of the texture are not changing.  I'm out of ideas.



#13
VIitS

VIitS

    Resident poster

  • Premium Member
  • 2,766 posts

I'd need to see the files (plugins, palette, bgsm, and anything else).



#14
DeathMotif

DeathMotif

    Fan

  • Premium Member
  • 298 posts

Not sure what's going on, but I decided to clean up my file by copying everything into a new ESP and changing the FormID pointers to the new FormIDs, and now everything is working.  Some weird coloring issues I didn't expect.  The texture is greyscale, yet the texture comes out looking white instead of grey.  At any rate, here's a link to the file:

https://drive.google...iew?usp=sharing

​I'd love to know what (if anything) I'm doing wrong, and how I can improve this.

​For the record, anyone is free to look at this file for reference.  It requires AWKCR.  To make the suit, build the appropriate workbench.  Modify it as normal.

 

Edit: I should also note that this is far from complete.  I have several attachment points included with the clothing.  Some of them will be removed.  Others have yet to be implemented.  More importantly, I have not created the instance naming rules yet, so you won't be able to tell one color variation from another if you make multiple suits.



#15
DeathMotif

DeathMotif

    Fan

  • Premium Member
  • 298 posts

Well...crap.

​I have discovered a limitation/Bethesda oversight of the game.  The ColorRemappingIndex is a global value to the game object instead of being a value attached exclusively to the material.  I suspected this, but have now confirmed it.  I had wanted to be able to use different index values for different mesh targets, such as the Vault Suit color, trim color, and decal number, but alas, this is not possible.  Changing the index for one changes for all regardless of the material.  Bad Bethesda!  You should have known better.  Anyone have any suggestions how this may be overcome?



#16
TrickyVein

TrickyVein

    Eulalia!

  • Members
  • PipPipPipPipPip
  • 3,205 posts

You could create color combinations that you want for each part matching against color index and create a gazillion different color indices inside of the palette texture.

 

Otherwise, as you identified, if indeed that be the case then it seems the only other thing would be to create armor objects for each part.

 

You could get fancy I suppose with having only one armor piece that's available/modifiable in the player's inventory, and then scripting-equipping the other armor parts when the suit is selected - and even spawn and attach OMODs to the other armor pieces based on which mod(s) are applied to the suit, using keywords to link color-selections on the suit to OMOD's that have different remapping indices. 







Also tagged with one or more of these keywords: texture, color, material, armor, clothes, weapons, furniture, clutter

Page loaded in: 1.024 seconds