Jump to content

IVA overlay setup


Recommended Posts

This is simple to set up but adds much visually. And Squad also fixed lighting in the IVA/Kerbal portraits. Awesome!

There's a new shader in PartTools called Depth Mask. it blocks out anything on the IVA render layer so the External remains visible when overlay is toggled in game. Create a simplified mesh that roughly matches the exterior of the command pod, cut out the parts where you want IVA to show through, like Windows and Ports if you are going for something like the RPM or USI transparent pod plugins; or slice openings if you are going for a cross section cutout look, reference models in Gamedata/Squad/Spaces/OverlayMasks for various setups. border mesh is optional. 

Assign Depth Mask shader to the overlayMask mesh, set it to layer 16-kerbals or 20-Internal Spaces, export and config as usual and you're good to go! Does seem to need Unity 5.2.4 (1.1's build version). 

If you want true windows when you toggle IVA overlay, you have to include a duplicate of your external as part of your IVA mesh, set to layer 16 or 20. MODEL{} probably won't work if you simply tack the external mesh on in the INTERNAL{} config.

pics or it didn't happen

VSTqRRL.jpg
 

Edited by nli2work
Link to comment
Share on other sites

Works a treat. Currently re-writing RasterPropMonitor TransparentPods for MOARdV to take advantedge of these new systems and shaders.
New RPM TransparentPods will have the advantedge of being available in editor as well as flight (permanently, and with the On/OFF/AUTO feature I added a few months ago), and for all loaded vessels not just the active vessel. And still do the transparent/opaque window swapping etc. But I expect a big performance increase over the old one.


lFYCJVC.png

u9aReVW.png

This is the new 1.1 Stock IVA Overlay feature with a new overlay model using the new shader in place.

Link to comment
Share on other sites

  • 2 weeks later...
This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...