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

The water is all white #1

Open
VojtaStruhar opened this issue Feb 26, 2023 · 4 comments
Open

The water is all white #1

VojtaStruhar opened this issue Feb 26, 2023 · 4 comments

Comments

@VojtaStruhar
Copy link

The buoyancy works fine (great job!) but the water shader isn't blue! I didn't fiddle with the shader parameters at all, but the colors are correctly set to blue-ish. Any idea what could cause this?

Hardware: Macbook Air M2

Godot version: v4.0.rc5.official [6296b4600]

image


Great tutorial btw, I really love your videos! And the sky looks glorious too :)

@CBerry22
Copy link
Owner

I tested the project on my M1 Macbook Pro and had the exact same issue.

It's something to do with the edge colouring. If you change the edge colour parameter on the shader to black, which remove the edge shading, the normal colour of the water returns.

image

I'll have to do some investigation into the cause of this, it might be a bug with the engine itself. I imagine it has something to do with Metal as it works fine on both Windows & Linux.

Thanks for bringing this to my attention!

@LauraWebdev
Copy link

LauraWebdev commented Nov 18, 2024

@CBerry22 It actually is white on Linux, Wayland, Godot 4.3 as well

@felix-knopp
Copy link

@CBerry22 It actually is white on Linux, Wayland, Godot 4.3 as well

yep, same for me :/

@MartinDelille
Copy link

I noticed there was also an issue with the shape below the surface not shown. Removing the edge code fix the issue.

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

No branches or pull requests

5 participants