Max0906
(Max0906)
November 16, 2022, 3:33pm
1
So i have this very nice mask
that i use to nicen up the area under the ball that touches the arrow. the arrow uses a custom depth stencil to always be on top of everything except the ball with this material
now i have the problem that even tho the stencil is being correctly recognized
when i start the game it just ignores the mask and goes back to its original mask
any idea to fix this?
3dRaven
(3dRaven)
November 16, 2022, 4:14pm
2
Do you have all of your stencil buffer settings in order?
Max0906
(Max0906)
November 16, 2022, 4:23pm
3
Yes everthing is setup i just dont get why it suddenly ignores the mask ive made
3dRaven
(3dRaven)
November 16, 2022, 4:29pm
4
And your custom depth stencil is set to 2 on the arrow?
Max0906
(Max0906)
November 16, 2022, 4:34pm
6
yes the PP works fine but it just ignores the mask
3dRaven
(3dRaven)
November 16, 2022, 4:41pm
7
Perhaps it’s a matter of the post processing mask materials Blendable Location? It seems to only draw over transparent objects if set to “After Tonemapping”
Max0906
(Max0906)
November 16, 2022, 4:53pm
8
hm tried uesing different but couldnt get the result i wanted
3dRaven
(3dRaven)
November 16, 2022, 5:03pm
9
This is what I’m getting (set black to green on my material)
Max0906
(Max0906)
November 16, 2022, 5:28pm
10
OH okay i was just stupid i didnt plug the script into the event tick everthing works now my bad