Comments (1)
@SpineyPete good to hear from you! You're right, OQ's were a massive PITA, but I'm happy to report I got them working swimmingly this past weekend.
What I didn't fully understand about them for the longest time is that they're not expensive, they're just slow. Coming up with a way for the client game to submit OQ's that would benefit subsequent frames was clutch. Suddenly we can immediately skip entire misc_dust
, misc_flame
, misc_light
etc.. in addition to surgically culling every static light source and its corresponding shadow. My framerate actually doubled when I finally got this working and wired up, and there are probably still more things that can benefit from additional OQs.
In addition, I came up with GPU-oriented solution for supporting hundreds of lights in the scene without having to hash or sort them on the client side. I introduced a geometry shader that can test if a triangle intersects an AABB, and I use this to identify the eligible light sources for every primitive. This way, each fragment is only looking at < 8 light sources, while the scene supports 256 of them.
All in all, my framerate with full shadowmapping is actually higher now than it was in the develop
branch a month ago 😂 Pretty crazy. If you have a chance to check it out, please let me know what you think. And I'm glad you're still lurking 😊
from quetoo.
Related Issues (20)
- Player sounds stop playing back after a Com_Error HOT 1
- pmove-bug on certain non-axial geometry HOT 17
- Only megahealth over-health should countdown HOT 7
- Console background is not positioned correctly for all resolutions HOT 3
- Riding movers causes hitching on rider positions HOT 2
- UI Bug in the server creation menu HOT 2
- Soft particles don't work with bmodels HOT 10
- Pan's buglist of map editing issues and other errors HOT 199
- Add CONTENTS_ATMOSPHERIC for misc_dust, misc_fog, etc. HOT 2
- Re-implement simple global fog HOT 3
- Dedicated runs by default in the background HOT 6
- Crash when shooting func_door_secret with certain weapons. HOT 6
- Crash on r_restart / r_toggle_fullscreen HOT 7
- Crash on exit HOT 8
- Broken faces HOT 22
- Windows download from Queutoo website is broken HOT 2
- Suggestions /ideas HOT 16
- Multiplayer features HOT 1
- Movement/prediction stutters
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from quetoo.