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
Sprites not rendering with rebuilt effects #3750
Comments
Quick note: The depth on the draw call seems to be important and relevant to the change. Setting the depth to 0 the sprites show up, setting to 1 they do not. I do not have a proper XNA capable system to compare behavior. |
@tgjones - Ideas? |
@emarcotte Can you try finding out the maximum |
@tgjones 0 seems to be the max and -1.0 seems to be the min, or at least within a .0000001ish |
Thanks @emarcotte. @tomspilman This seems like something that should be fixed before v3.4 is released, but I haven't had time to look at it yet. I see you're getting ready to release v3.4, so I'll look at it asap, but if someone else beats me to it, even better... |
Unless it can be fixed in the next hour or two... 3.4 is being released with this bug in it. |
@tgjones - Should i wait? I have some time, but not alot. |
I'm having a look at it right now, I'll keep you posted. |
Got it. |
I've added a failing test, that demonstrates exactly the behaviour that @emarcotte described: The test is based on XNA behaviour, and passes for WindowsDX, but fails for WindowsGL. I'll have a look at why, now... |
Fantastic! |
And I've got a fix... checking in now. This actually fixes the |
PR created... |
Hi,
After a long while not pulling any changes from github, I just updated my linux system with the latest of the develop branch. After doing so, none of my sprites render at all in a simple 2d game.
Doing a bisect from v3.3 to the latest seems to indicate that commit c089aa8
from #3706 is the first one where they all disappeared.
A simple game class that reproduces the issue is as follows... requires a texture2d named texture/player...
When running this game I don't get any (abnormal) output, just the previously reported linux warnings from opentk which are on another issue:
I'm not sure what other information is relevant here. Let me know what else I can provide.
The text was updated successfully, but these errors were encountered: