-
Notifications
You must be signed in to change notification settings - Fork 619
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 #1151
Rend2 #1151
Conversation
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
Missed this one...
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?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've been testing this relentlessly since around 01.06.23. t's not even worth it to paste all the map names as most of them will be garbage to people but according to my logging system:
- i played on 81 maps
- i had 1113 GLM files loaded
- i had 931 MD3 files loaded
any bug I encountered was already fixed. Nothing needs critical fix, there are no visible problematic errors anywhere.
Test machine of mine has had two GeForce cards:
- MSI GT710 2 GB
- ASUS 1050Ti
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested it and works well, I think Somaz said something was missing from my screenshot but I don't think it was something major
I was thinking I did something stupid with the hdr ambient lighting from the lightgrid, but it turns out everything is fine from the code perspective. Just did something stupid in blender when baking the lightgrid. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have been testing this thoroughly on SomaZ's map on my AMD 6900xt on Windows 10, no issues.
So, this is a working version of a fork of the ioquake3 renderer2 for the Jedi Academy Multiplayer. This is still WIP, but all the essential vanilla renderer features are implemented.
Enabling the renderer via comandline:
"cl_renderer rd-rend2;vid_restart"
Pull request currently includes:
fix for the github actions linux x86 build(not needed anymore and removed)Special thanks to following people:
@SmileTheory for the original renderer2
@eezstreet and @ensiform for their effort in porting the renderer to Jedi Academy
@xycaleth for writing nearly all the new essential parts of the renderer