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

Direct3D 9.0 Fixes #721

Merged
merged 7 commits into from May 19, 2014
Merged

Direct3D 9.0 Fixes #721

merged 7 commits into from May 19, 2014

Conversation

RobertBColton
Copy link
Contributor

  • Apparently 0.25 offset for the projection works better for half pixel alignment with the fixed-function pipeline, text and 2D sprites will render just as crisp in Direct3D as OpenGL now. Fixes Direct3D 9.0 Text Rendering Differences #702
  • Also made the texture_set_interpolation function properly work in D3D.
  • Removes half texel alignment in OpenGL 1 ortho projection as it is only causing issues in every game I test especially with repeating and scrolling backgrounds, removing it does not appear to affect text drawing or any 2D drawing, online fixes alignment in my game. Texel alignment is only a known issue of Direct3D so not sure why we ever had it in OpenGL.

@EnigmaBot
Copy link

(Posted by Darkstar2 on the ENIGMA forums)

Thanks Robert. However you mentioned here
"removing it does appear to affect text drawing or any 2D drawin" did you mean "does not" ????

@EnigmaBot
Copy link

(Posted by Darkstar2 on the ENIGMA forums)

BTW, where are the fixes, I don't see them on the GitHub.

@RobertBColton
Copy link
Contributor Author

Yes I meant, does not, the changes are under the tab "Files changed", the code has not been merged yet.

@TheExDeus
Copy link
Member

Should this be merged now?

@RobertBColton
Copy link
Contributor Author

Let me add game_end event first Harri.

TheExDeus added a commit that referenced this pull request May 19, 2014
@TheExDeus TheExDeus merged commit ec9d195 into enigma-dev:master May 19, 2014
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

Successfully merging this pull request may close these issues.

Direct3D 9.0 Text Rendering Differences
3 participants