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

Add FOG, RADIANCE, and IRRADIANCE builtins to Spatial shader reference #4290

Closed
clayjohn opened this issue Oct 18, 2020 · 3 comments
Closed

Comments

@clayjohn
Copy link
Member

Your Godot version:
Master

Issue description:
Now that godotengine/godot#41415 is merged, we need to add entries for FOG, RADIANCE, and IRRADIANCE.

out vec4 FOG | If written to, blends final pixel color with FOG.rgb based on FOG.a
out vec4 RADIANCE | If written to, blends environment map radiance with RADIANCE.rgb based on RADIANCE.a
out vec4 IRRADIANCE | If written to, blends environment map IRRADIANCE with IRRADIANCE.rgb based on IRRADIANCE.a

URL to the documentation page:
https://docs.godotengine.org/en/latest/tutorials/shaders/shader_reference/spatial_shader.html

@MelodyMorse
Copy link
Contributor

Do these go under Light Built-ins?

@clayjohn
Copy link
Member Author

Nope. They go under fragment!

@skyace65
Copy link
Contributor

skyace65 commented Nov 8, 2020

@clayjohn you can close this issue now.

@clayjohn clayjohn closed this as completed Nov 8, 2020
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

3 participants