Open PxlBuzzard opened 10 years ago
Just did a little debugging ,and I found that the mouse cursor position is correct, however the id here is always 2147483648
, hence the null
return value.
@zeDoctor any idea what would cause this?
Can confirm that reversing d3d95169a75d5581974dd989d46c27ac2f2da8f9 resolves the issue.
Can now confirm that the issue comes from reading from the Alpha channel, which is notoriously impossible.
Really? That's bizarre. I couldn't find a reason for it before, but I've been pretty swamped this week and last weekend so I hadn't dug too far in. Why is reading from alpha any different than the others I wonder?
Also side note, the cursor position is definitely wrong on my laptop.
Hey @zeDoctor, any chance of tackling this tonight before 0.10.0
ships?
Ended up with a super busy weekend, so no :/ It looks like it could be that the Alpha channel gets lost when any blending is done, but I didn't think we did any blending on that particular FBO, so I'm pretty stumped as to why it's not working correctly.
To add some confusion to this, Input.mouseObject works on my machine in the labs. Perhaps its an issue at the graphics driver / card level?
Something about
0.9.0
broke Input.mouseObject. I have tested in Spectral Robot and Sample-Dash-Game.