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

Render target implementation adapted for the main branch #111

Merged
merged 5 commits into from
Jul 20, 2024

Conversation

HenryOfCarim
Copy link
Contributor

@HenryOfCarim HenryOfCarim commented Jun 26, 2024

Complex effects use render-to-texture render targets, the .rtex file looks like a regular .tex texture that contains a header only.
This pull request adds parsers and serialization code for both rtex-112 and rtex-157 formats. MRL uses a type hash that allows detection render targets, RE5, unfortunately, had to use brute force by trying to find .rtex if .tex is missing

@HenryOfCarim HenryOfCarim marked this pull request as ready for review July 9, 2024 14:52
@HenryOfCarim HenryOfCarim requested a review from Brachi July 10, 2024 14:08
Copy link
Owner

@Brachi Brachi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good in general. What is not clear to me is how to actually modify an rtex. Should one create a .tex file next to the .rtex with the same name? If so, we could use that instead of a UV GRID, so e.g. computer screens will show.
But certainly can be done later.

@Brachi Brachi merged commit 1627c16 into main Jul 20, 2024
3 checks passed
@HenryOfCarim HenryOfCarim deleted the render_target_main branch August 1, 2024 17:18
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.

2 participants