New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Alpha problem ULJS00379 Dai2Ji Super Robot Taisen Z Hakaihen #1982
Comments
Humm i think it may be ATI issue . |
I am sorry. |
Can you test if this is fixed? @hrydgard just pushed a new fix attempting to fix black boxes in games. |
@hrydgard , just wonder how to write the " disable alpha writes if alpha blending is enabled "? would like to try for this game to see if it helps. |
Just for record here here .This game uses 'Unsupported absdiff blend mode' . |
agh, absdiff, that's a PSP-specific blend mode that has no corresponding mode on PC. We need to write support for blend-mode-in-the-shader for cards that can support that - which is pretty much all nVidia cards, and, I think, most ATI cards on PC. Maybe the later intels can do it too. Either way this is not standard functionality so it will be quite tricky. And on OpenGL ES, only Tegra can do it AFAIK. The rest will have to use the software renderer to get exactly the right graphics. Maybe we can find a replacement mode that look "good enough" without that black square at least.. |
@daniel229 , can you check this out using #3801 for your scenes in SRW Z2 ? |
Thanks . It is incorrect though .Having said that , it is better to get a black square . |
Yep, because softGPU support absdiff blending mode .I'm wondering is it possilbe to switch between SW and HW mode in the case......... |
On GLES2 , it didn't support GL_MIN/MAX and we use GL_FUNC_ADD instead , wondering it would cause black square issue as well on all mobile platform |
As @hrydgard mentioned earlier , on NV platform , we can use programmable blending by using extension GL_NV_shader_framebuffer_fetch (gl_LastFragColor) so as to implement the abs diff . (On Tegra , we can use it to implemet min/max as well) One Apple platform , we may use GL_APPLE_shader_framebuffer_fetch to implement min, max and abs diff all together . However , how about Andreno ?........ |
I'm guessing the implmentation would be something like . When we detect blending equation uses ABSDIFF , then
|
Feel free to close this .Issue resolved. |
@daniel229 , can i have the savestate for the following scene from your screenshot ? https://f.cloud.github.com/assets/3481559/1149567/28565b2c-1edd-11e3-949f-e4c4df052649.jpg |
Thanks a lot |
If I understood correctly, this was fixed by #6070 in the end after the scissor fix. Let me know if I'm incorrect. -[Unknown] |
v0.7.6-910-gc5976fb
Black transparency has a small problem.
my videocard
RadeonHD7770 Catalyst 13.5beta
video log statesave save here
https://drive.google.com/folderview?id=0By8WbS_hvsesSEZXb0MtdjlLS2c&usp=sharing
The text was updated successfully, but these errors were encountered: