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

Rend2 #12

Merged
merged 833 commits into from
Oct 3, 2023
Merged

Rend2 #12

merged 833 commits into from
Oct 3, 2023

Conversation

taysta
Copy link
Owner

@taysta taysta commented Sep 30, 2023

Adds rend2 from JACoders#1151 with EternalJK features implemented. Closes #3

SomaZ and others added 30 commits May 25, 2018 02:12
lots of fixes and additions
Make rend2 build and work on linux
Also took the chance to refactor some orthographic rendering code
Begin/end scene when rendering weather depth map
Since we're building up viewParms ourselves, there's no need to set up
anything in the refdef
- added r_deluxeSpecular like SmileTheroy did in ioq3
- fixed the ambient term in lightall for lightmaps
SomaZ and others added 17 commits May 23, 2023 15:34
and some additional cleanup.
It's currently buggy, especially when the portal surface is very close to the viewer. Might replace this with rendering a stencil first.
Since we upload scene data before rendering the sun shadow maps we need to alter all the related data before upload.
Rend2 will now gather all uniform buffer data before rendering anything. Also merges skyportal draws into the main pass rendering.

Cleaned up alot of old code on the way

Broken:
- DEFORM_PROJECTION_SHADOW
- Weather top down occlusion rendering

TODO:
- Merge shadow draws into single draw commits
- Check R_NewFrameSync() usage
- Reduce bsp tree traversal when building the different views
- make R_RecursiveWorldNode and R_MarkLeaves static again
Weather top down occlusion rendering now working again and correct usage of R_NewFrameSync().
Looks like this was resolved, so its not needed anymore for x86 linux builds?
# Conflicts:
#	CMakeLists.txt
#	codemp/CMakeLists.txt
…e for surface trigger/clip/slick drawing feature)
@taysta
Copy link
Owner Author

taysta commented Sep 30, 2023

Tested on 64-bit AMD Windows and working well, waiting for OpenJK PR to merge before approving this

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.

Implement rend2
4 participants