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

Inconsistent blending behaviour between Windows and HTML5 #1501

Open
distantforest1 opened this issue Dec 13, 2024 · 0 comments
Open

Inconsistent blending behaviour between Windows and HTML5 #1501

distantforest1 opened this issue Dec 13, 2024 · 0 comments

Comments

@distantforest1
Copy link

Describe the bug
Hi I'm getting some inconsistent behaviour for the blending for the Windows build target and the debug electron build.

On the Electron Build:
electron_9GJiSq79M8

On the Windows Build:
Shader-G2_kbuVswuhDu

I've created a repro of the bug:
https://github.com/distantforest1/Shader-G2-blendingbug

To Reproduce
Open this up in VS Code:
https://github.com/distantforest1/Shader-G2-blendingbug

  • Press F5 to run the debug, it is blending properly
  • Build with Ctrl-Shift-B on Windows (Full Build opengl/directX). It is not blending as expected.

** Additional context: **
It appears that in the windows build, if you change the blending mode, you need to recompile the pipeline?
https://github.com/distantforest1/Shader-G2-blendingbug/blob/a96a9d9b1e014c0f84fe2b8a1f0fc4461adb4664/Sources/Main.hx#L74

Expected behavior
Not needing to recompile the pipeline for blend mode changes, or requiring a compile for the electron build (for consistency).
Execution Environment:
Operating system: Windows 10 Home. Windows-10-10.0.19045-SP0 64 Bits.
Graphics card: NVIDIA GeForce RTX 2080 Ti/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 560.94

  • IDE used (if any): Visual Studio Code
  • Kha revision: Latest
  • Kha build output (Using Kha...):
  • Application output (if it runs):
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

1 participant