Skip to content
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

Vulkan: No TRANSMISSION fragment built-in in shader #61098

Closed
Partho29 opened this issue May 16, 2022 · 2 comments
Closed

Vulkan: No TRANSMISSION fragment built-in in shader #61098

Partho29 opened this issue May 16, 2022 · 2 comments

Comments

@Partho29
Copy link

Godot version

4.0.dev

System information

Windows 11, GLES3, Nvidia Gtx 1650ti

Issue description

There is no TRANSMISSION built-in in shader. I am pretty new to Godot so I don't know if it's a bug, future implementation or have been changed to something else.

In Godot 3, it is there but in 4 it has been removed but other built-ins are present like ALBEDO, NORMAL_MAP, etc with a slight change in naming. But I can't see the same for transmission.

If it is a silly issue and has an easy workaround, kindly post a reply with solution.

Steps to reproduce

TRANSMISSION = transmission.rgb + texture(texture_transmission, SCREEN_UV).rgb;

Minimal reproduction project

No response

@Calinou Calinou added this to the 4.0 milestone May 16, 2022
@Calinou Calinou changed the title No TRANSMISSION fragment built-in in shader Vulkan: No TRANSMISSION fragment built-in in shader May 16, 2022
@clayjohn
Copy link
Member

Looks like it was made a part of SSS here: #37678

@Chaosus
Copy link
Member

Chaosus commented May 17, 2022

Yeah, looks like it was renamed to SSS_TRANSMITTANCE_COLOR. Not a bug, closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants