bigorangemachine / ksp-kronalutils

The Unlicense
19 stars 10 forks source link

Semi-Transparent Parts #21

Closed TedThompson closed 9 years ago

TedThompson commented 9 years ago

The effect can be viewed in the following image

If KVV is removed this effect is removed with it. I don't know of anything required for this to happen beyond having KVV installed and using the 32 bit version of KSP.

Here are my system specs: https://www.dropbox.com/s/dubd0jwrm4fo90n/TG626%20System%20Information.txt?dl=0

deckblad commented 9 years ago

Maybe the culling mask needs to be reset after rendering?

bigorangemachine commented 9 years ago

I talked to Kronal about this. I think the issue is that we need specific shaders to get semi-transparent affects (landing gear showing through wings).

From what I understand we have to load shaders from the get-go. But we can't replace shaders once the code is running.

TedThompson commented 9 years ago

Can we make those shaders optional? A setting to toggle? I have no idea what it would make the KVV output look like, but if it could get it to "play nice" with the game and looks acceptable, I'd certainly prefer it so I could just leave the mod installed.

deckblad commented 9 years ago

Does this issue happen only when you first use KVV and then launch a craft?

TedThompson commented 9 years ago

First thing I checked, and no all I need to do is have kvv installed. Even if I never touch it I get this funky transparency bug, so for now I have to leave it disabled and only load it when I want to use it, thgern exit and remove it and restart ksp if I want to fly.

bigorangemachine commented 9 years ago

Was unable to confirm bug.

This commit caused some issues and needs tweaks. In the future there needs to be a way to separate the preview model from the editor model.