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

GL-compatible godrays #23

Open
HumanoidSandvichDispenser opened this issue Sep 10, 2023 · 1 comment
Open

GL-compatible godrays #23

HumanoidSandvichDispenser opened this issue Sep 10, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@HumanoidSandvichDispenser
Copy link
Owner

HumanoidSandvichDispenser commented Sep 10, 2023

The godrays render differently between the Forward+ (Vulkan) renderer and the Compatibility (OpenGL) renderer. The godrays shader should be rewritten to be compatible with both of them.

@HumanoidSandvichDispenser
Copy link
Owner Author

HumanoidSandvichDispenser commented Sep 11, 2023

The problem is that the Vulkan and OpenGL renderers render shaders differently if the texture is a blank CanvasTexture. Adding an existing texture (with size greater than 1x1) will make OpenGL render shaders closer to Vulkan as the texture size increases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Todo
Development

No branches or pull requests

1 participant