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

Rome Total War - Campaign Map Texture Issue #153

Open
kadaj29 opened this issue Apr 17, 2023 · 6 comments
Open

Rome Total War - Campaign Map Texture Issue #153

kadaj29 opened this issue Apr 17, 2023 · 6 comments

Comments

@kadaj29
Copy link

kadaj29 commented Apr 17, 2023

This wrapper provides a welcome performance boost, but it introduces a graphical issue where textures on the campaign map are rendered incorrectly. It's most noticeable around coastlines, but can also be seen at the edges of various other textures.

Without the wrapper:
screen1
With the wrapper:
screen2

@elishacloud
Copy link
Contributor

elishacloud commented Apr 6, 2024

After one year, I finally had time to look at this. LOL

It looks like the game uses some kind of texture filtering that is not working with the wrapper. I took a look at the Direct3D8 filters and it seems like there are two (D3DTEXF_FLATCUBIC and D3DTEXF_GAUSSIANCUBIC) that are not supported by Direct3D9 filters.

I don't have the game to test with, but I substituted other Direct3D9 filters for these to hopefully fix this. Try this build: d3d8.zip

@kadaj29
Copy link
Author

kadaj29 commented Apr 9, 2024

Thanks for looking into this. Unfortunately, the problem persists with that build.
screen

@elishacloud
Copy link
Contributor

Ok, I see. Thank you for testing. I will have to look into this when I have a chance to test with the actual game.

@elishacloud
Copy link
Contributor

Ok, try this one. I switched the texture filter to use linear: d3d8.zip

@kadaj29
Copy link
Author

kadaj29 commented Apr 11, 2024

Doesn't seem to have changed anything.
screen
The only DX8 wrapper I've tried that doesn't cause some sort of noticeable texture issue on the campaign map like this is dgVoodoo2, but that one comes with its own performance issues at certain points which this project doesn't have.

@elishacloud
Copy link
Contributor

Thanks for checking. It was worth a try. I will need to test this game myself to see what is happening.

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

No branches or pull requests

2 participants