-
-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change the maximum opacity value of Transparency #98
Comments
Hm, I did have some reason before why I clipped it at 0.9... But I dont remember any more. I'll just change it to 1 with the next version |
I didn't see any reason to set it to 0.9 either, so if it's fine to set it to 1, that's fine. |
Actually, I remembered why I do thave that in there. That statement is only relevant when you do not use the depth buffer - Have you enabled the depth texture for that camera? |
I suppose the Shaders on your Avatar do not write to the Depthbuffer then. Alright I'll just change the clamp value. |
By the way, the avatar display mod we are using is Custom Avatars 5.3.0. I am very grateful for this feature of Camera2, as it is essential for this kind of overlay display using Custom Avatars. |
The problem here is with the specific model that you use not with the Avatar Mod - The Materials / Shaders do not write to the depth buffer, thus Cam2 doesnt properly know which pixels are supposed to be transparent or not, but yeah this issue shouldnt exist anymore when I change the clamp value. |
Okay, I understand. |
Even if I set the 'Transparency Threshold' of 'EFFECTS' to the minimum (0.5), the maximum alpha value is clamped at 0.9.
I would like to be able to change the clamp value.
The reason is that we want to display the avatar as an overlay, but it is a bit transparent.
The right side shows this clamp replaced with a shader that has been changed to 1.0
CS_BeatSaber_Camera2/Shaders/LuminanceKey.shader
Line 55 in aa93200
The text was updated successfully, but these errors were encountered: