Descriptive Problem Summary:
When using a plane master and a render target alpha mask, the plane master and objects having different blend modes it will move the mask parallel with the player, rather than remaining still
Numbered Steps to Reproduce Problem:
1) Run test case
2) Move in any direction
Code Snippet (if applicable) to Reproduce Problem:
Test case: https://github.com/TiviPlus/alpha_bug_repro
Expected Results:
It creates an alpha mask on the target that does not change when the player moves, which masks the object
Actual Results:
The mask will seem to act like a parallax limited to that specific object
In a game: https://streamable.com/2y8p1a
Alternate test case: https://streamable.com/vczz1p
Final Test case: https://streamable.com/oet2nk
Edit: https://streamable.com/mt7mus here you can better see where it is supposed to be with the white(how it is supposed to be, unmoving), and the more transparent (one which keeps moving and this bug is about)
Does the problem occur:
Every time? Or how often? Yes
In other games? Yes
In other user accounts? Yes
On other computers? Yes
When does the problem NOT occur?
Never
Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? (Visit http://www.byond.com/download/build to download old versions for testing.)
Reproduced on latest stable(513.1542) and several betas including latest(514.1561)
Workarounds:
ID:2703664
Jul 27 2021, 4:23 am (Edited on Jul 27 2021, 3:15 pm)
|
|||||||||||||
Not a bug
| |||||||||||||
In response to Lummox JR
|
|
Lummox JR wrote:
But if I'm looking at this right, you're trying to use a plane master as a render target and then use that as a source to a filter on an object that isn't a plane master. I'm not sure that's a valid use case, or at least I don't see a reason to ever do that. Can you expand on what you're trying to do and what the demo is doing? The reason for this is that the intended target must be rendered onto a specific preexisting plane, and this plane has other objects on it that interfere with the alpha filter if its applied onto their plane I've updated the github test case to hopefully be clearer as to where the issue lies https://streamable.com/mt7mus here you should be able to better see where it is supposed to be with the white(how it is supposed to be, unmoving), and the more transparent one (which keeps moving and this bug is about) |
But if I'm looking at this right, you're trying to use a plane master as a render target and then use that as a source to a filter on an object that isn't a plane master. I'm not sure that's a valid use case, or at least I don't see a reason to ever do that. Can you expand on what you're trying to do and what the demo is doing?