-
I'm still waiting for confirmation of model of iPad, all I know right now is that it's Pad IOS 16.7.10 I've seen this before and I think it had something to do with premultiplied alphas. You can also see the problem on the tower which is using another shader, but the outline is struggling with its aliasing. Here is the shader for the characters - it's performing a tint, fade, alpha
This was my pre-axmol shader which the user didn't report the problem with.
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 9 replies
-
Beta Was this translation helpful? Give feedback.
-
Are you able to show a screenshot of what the scene should look like? |
Beta Was this translation helpful? Give feedback.
-
I'm not sure if this would have anything to do with the issue, but it looks like there may be a divide by zero, which leads to undefined behaviour:
Moving that saturate call would fix it, but I'm not sure if it changes the behaviour of the shader, and if it does, then you would need to refactor the shader to get the correct output:
|
Beta Was this translation helpful? Give feedback.
I'm not sure if this would have anything to do with the issue, but it looks like there may be a divide by zero, which leads to undefined behaviour:
Moving that saturate call would fix it, but I'm not sure if it changes the behaviour of the shader, and if it does, then you would need to refactor the shader to get the correct output: