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

Detail textures in Vulkan are scaled incorrectly #11

Open
BerserkerBG opened this issue Aug 6, 2022 · 6 comments
Open

Detail textures in Vulkan are scaled incorrectly #11

BerserkerBG opened this issue Aug 6, 2022 · 6 comments

Comments

@BerserkerBG
Copy link

BerserkerBG commented Aug 6, 2022

Detail textures in Vulkan are not scaled correctly.

Vulkan example:
Screenshot_33
You can notice how small the Detail texture is, you can start to see a "grid" pattern where the Detail textures tile ^

OpenGL example:
Screenshot_34
Any other renderer scales Detail textures correctly ^

@dpjudas
Copy link
Owner

dpjudas commented Aug 6, 2022

I'm afraid I have no clue what is wrong here. I'm using exactly the same scaling code/math as for the other textures. When I look at the OpenGL renderer it uses the same math from what I can tell. Is this something that happens for all detail textures or is there a pattern to this?

@BerserkerBG
Copy link
Author

I'm afraid I have no clue what is wrong here. I'm using exactly the same scaling code/math as for the other textures. When I look at the OpenGL renderer it uses the same math from what I can tell. Is this something that happens for all detail textures or is there a pattern to this?

It happens on every detail texture you see, I tested Epic's maps and it only happens on Vulkan. I've tested OpenGL, xOpenGL, D3D9 and D3D11. Does it not happen on your end at all, when you test this and compare?

@dpjudas
Copy link
Owner

dpjudas commented Aug 7, 2022

It happens on my computer too. It is just that I have no idea why there should be a difference when I compare the code between OpenGL and Vulkan. I could "fix" it by applying an arbitrary additional scale factor of let's say 10, but I was hoping maybe there was a connection somewhere I am not seeing.

@chris-mcc
Copy link

It looks like maybe its a difference in a post processing filter?

@dpjudas
Copy link
Owner

dpjudas commented Dec 9, 2022

Does this still happen in the 2.2 version?

@BerserkerBG
Copy link
Author

Does this still happen in the 2.2 version?

Hey, great job on the new version! Turning True/False Detail Textures in Vulkan doesnt seem to do anything, I can't get them to show, I see no signs of the detail textures. Can someone check?

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

3 participants