iwalidza Posted January 11, 2022 Share Posted January 11, 2022 i get shader from [gameplay]\visualiser i do the shader to my object but shader work fine in some position and else not work good why? position 1 https://prnt.sc/26chls2 position 2 https://prnt.sc/26chmmi Link to comment
The_GTA Posted January 11, 2022 Share Posted January 11, 2022 Hello iwalidza, it looks like the color behind this transparent shape is being discarded because the geometry you are drawing is saving depth information into the depth buffer. You are encountering the classic Direct3D 9 alpha-sort problem. In the Direct3D 9 implementation it is impossible to specify a custom render-target format in combination of a custom blend operation so it is not a good idea to implement a fix for this situation, given the performance implications and requirements. You are better off rethinking your visual design, maybe sticking to a completely opaque render instead. Good luck! Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now