Skip to content
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

Earth Defense Force 2 portable d3d11 hardware transform lightning issue(?) #10172

Closed
LunaMoo opened this issue Nov 22, 2017 · 3 comments
Closed
Labels
D3D11 Direct3D 11
Milestone

Comments

@LunaMoo
Copy link
Collaborator

LunaMoo commented Nov 22, 2017

Here's with hardware transform ON:
uljs00374_00000
And here's with it turned off(or any other backend with HW transform ON as it looks about same).
uljs00374_00001

I think everything renders it's just soo dark it looks black? Doesn't affect any other backend.

Including a dump which doesn't show sky, but that doesn't happen in the actual game:
ULJS00374_0001.zip

@LunaMoo LunaMoo added the D3D11 Direct3D 11 label Nov 22, 2017
@hrydgard hrydgard added this to the v1.6.0 milestone Nov 22, 2017
@hrydgard
Copy link
Owner

Yup, looks like a lighting issue - you can see in RenderDoc in the mesh output that all vertices get a color 0,0,0 after transform.

Oh yeah BTW, this is that crazy game that changes culling mode after nearly every draw, which results in a trillion little draw calls, reducing performance... Only way I can see around that is a special mode for this where we reverse the triangle strip indices when culling is backwards, instead of actually switching the culling mode. Good to have the dump for that, whenever anyone gets around to it...

@unknownbrackets
Copy link
Collaborator

Any change here?

Has this ever worked right in Direct3D 11?

-[Unknown]

@hrydgard hrydgard modified the milestones: v1.6.0, v1.7.0 Mar 26, 2018
@LunaMoo
Copy link
Collaborator Author

LunaMoo commented Mar 26, 2018

No change and I believe it never worked in d3d11 with hw transform.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
D3D11 Direct3D 11
Projects
None yet
Development

No branches or pull requests

3 participants