Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
WIP: quick parallax for real time lights #193
It jumps from 31fps to 95fps on hd1080p (110fps in a common scene) on an R9 390X with flame thrower on an open scene that is known to be far slower than the average, I don't see anything wrong noticeable.
Produces 65fps on 2K on that costly scene (90fps in a common scene) and 36fps on 4K (45fps in common scene).
Note that without flame thrower, I get 200~225fps (hd1080p), 185/225fps (2K), 100/140fps (4K).
Basically this quick parallax is only done to be sure the realtime light is not shifted from the usual lightmapped scene (which is parallaxed with a more efficient algorithm).
I'll post screenshots later.
This hack makes a Dæmon based game performant enough to be releasable with parallax enabled or at least available to the user.
This is an Unvanquished map layout for the Xonotic solarium map:
put it in
This makes testing flame-thrower in a parallax enabled map easy.