forked from eternalcodes/EternalJK
-
Notifications
You must be signed in to change notification settings - Fork 5
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
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
Hotfix material system
Rend2 update
- added r_deluxeSpecular like SmileTheroy did in ioq3 - fixed the ambient term in lightall for lightmaps
Deluxemapping update
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)
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds rend2 from JACoders#1151 with EternalJK features implemented. Closes #3