• Hello Guest!

    We have recently updated our Site Policies regarding the use of Non Commercial content within Paid Content posts. Please read the new policy here.

    An offical announcement about this new policy can be read on our Discord.

    ~The VaMHub Moderation Team
  • Hello Guest!

    We posted an announcment regarding upcoming changes to Paid Content submissions.

    Please see this thread for more information.

VAMCCD - Custom clothing decals

Plugins VAMCCD - Custom clothing decals 1

⚠ PLEASE:
  • If you like this asset, consider liking and reviewing it for the community
  • Read the description, read the ingame help if you have any trouble. I will not answer private messages asking questions about things that are actually explained in the documentation/help.

vamccd-title.jpg



How to use
  • Open or create a scene.
  • Select a character
  • Go in the plugin tab
  • Add the plugin to the character using vamccd.cs


More info

Why are my decals at strange positions ?

The decal system is simply pushing a texture inside VaM's shader. So it's a simple blend in the model UVs. Depending on your clothes, it might be hard to have something interesting... but you can always create your own decal based on the original UVs!

The video above shows a clothing set I'm working on which is highly thought in advance to have UVs working for that type of plugin. Not all clothes will be perfect for it, unless you make your own textures.


Wrap Mode
The wrap mode might be hard to understand at first.

It simply is the way the texture repeats. The most "bizarre" ways are No-repeat and Mirror Once (which could also be called No-repeat mirror).

In both these two modes, the texture will only display once over the whole material of the clothing. To resize it, you need to increase both tile X and tile Y. 1 would be the original size, 5 would be 5 times smaller.

But pictures are better and speaks for themselves.
Let's take an original decal like this :

vamccd-wrap-original.jpg


Now, let's change the wrap to No-repeat and resize it to 2, the result is this :
vamccd-wrap-norepeat.jpg


Now, let's change the wrap to Mirror Once and resize it to 2, the result is this :
vamccd-wrap-norepeat.jpg


What ? the result is the same ? Nope... let's offset a bit!

No-repeat with an offset of -1/-1
vamccd-wrap-norepeat-offseted.jpg


And Mirror Once with an offset of -1/-1
vamccd-wrap-mirroronce-offseted.jpg


These are the two patterns you can obtain by using both these wrappings. Keep in mind that No-repeat and Mirror Once will not repeat. The further you go on the size, the smaller the pattern will be and the bigger your offset will need to be to position it properly.

Also, looking at the pictures, it means that as soon as you use No-repeat or Mirror Once, to center your decal, you need to offset it by -Tile / 2.

If you set Tile X and Y at 3. Then centering it requires and offset of -1.5.

If all this wrecks your brain... simply have fun with the sliders, you will end up finding something you like ;)


Special thanks

Thanks to @meshedvr for the clothing components tips and help.
Super thanks to @Chokaphi who's code (Decal Maker) helped me figure out a memory leak in my initial blit copy code.
And ultra thanks to @Spacedog and @Juno for the debug, ideas and suggestions
Author
hazmhox
Downloads
3,489
Views
6,579
First release
Last update
Rating
5.00 star(s) 12 ratings

More resources from hazmhox

Latest reviews

Its Fantastic! You are Good God of Vam community!))
Upvote 0
Clever idea that opens up new design possibilities.
hazmhox
hazmhox
Can wait to see what you come up with :)
Upvote 0
<3
Upvote 0
Awesome work, this is going to become one of my default plugins
hazmhox
hazmhox
<3 <3
Upvote 0
What a cool idea! I love that you made it possible to trigger the pattern settings. Now we can animate color shifting sci-fi clothes! A great feature for the future release would be adding alpha textures so we can do custom laces and fishnets etc. 5 stars!
hazmhox
hazmhox
Thank you Ballard!
Upvote 0
5
hazmhox
hazmhox
:thumbsup:
Upvote 0
Yet another ground-breaking contribution, super amazing stuff!!
hazmhox
hazmhox
Thank you for the ideas as usual : D
Upvote 0
Everything you do is EPIC, and FREE to the community! Thank you!
Upvote 0
It's very cool, thank you!! @offtop I see some very cool plugins for decals, but still there is not a single plugin for tattoos =(
Upvote 0
You create such awesome stuff. Thanks for yet another gem!
hazmhox
hazmhox
Thanks pinosante
Upvote 0
Back
Top Bottom