• Hi Guest!

    We are extremely excited to announce the release of our first Beta for VaM2, the next generation of Virt-A-Mate which is currently in development.
    To participate in the Beta, a subscription to the Entertainer or Creator Tier is required. Once subscribed, download instructions can be found here.

    Click here for information and guides regarding the VaM2 beta. Join our Discord server for more announcements and community discussion about VaM2.

Angle-of-view based shading for stockings/pantyhose/transparent lingerie

scoper

New member
Joined
Oct 5, 2023
Messages
2
Reactions
0
Big part of what makes stockings/pantyhose fascinating is the shading that keeps changing. But I never saw that in VaM:

example.png


In all VaM transparent lingerie I saw, the shading is always the same whatever the angle of view. This other game manage it:
ezgif-2-99e9ef4531.gif


This is true for hosiery but also some other kind of clothes like nightwear.
azaz.gif


How it works in reality-> Each fiber is in 3D. As the point of view change, you see less and less flesh and more and more of the fiber until you don't see flesh anymore.
Of course it'll be too resource intensive to model each fiber in 3D in a video game. I guess some sort of shader code is needed.

Is it something possible in VaM ? Does a resource like that exists?

If you're making this kind of clothe, please take that into account! It would add a LOT of realism to scenes.

Thanks.
 
Last edited:
Is it something possible in VaM ? Does a resource like that exists?
Custom shader should be able to do it?

You need a forumla that expresses the transparency value based on:
  1. Angle between surface normal and camera direction​
  2. Probably also take transparency value from the cloth texture into account.​

Custom shaders can be imported as AssetBundle and set on the clothing item via a plugin.
 
Custom shader should be able to do it?

You need a forumla that expresses the transparency value based on:
  1. Angle between surface normal and camera direction​
  2. Probably also take transparency value from the cloth texture into account.​

Custom shaders can be imported as AssetBundle and set on the clothing item via a plugin.
Hi, can you tell me what plugin can import custom shaders into clothing?
 
Regguise has fixed and implemented everything asked here, thanks to his W.I.P shader loader plugin, and a custom shader made for pantyhose/stockings.
He will release the shader loader tonight, and the shader itself in the following days.

To add this to any other clothing, you'll need to save them and edit the .vaj to add Stopper's plugin loader onto them, then add his shader loader plugin and load the pantyhose shader on it.
It will be saved into your clothing/appareance presets, as expected

It looks so good, what a hero
And apparently it also works with the subsurface scattering plugins by Hunting-Succubus. Glorious.


@scoper
 
Back
Top Bottom