unity-technologies / dynamicresolutionsample Goto Github PK
View Code? Open in Web Editor NEWA drop-in dynamic resolution script
License: Other
A drop-in dynamic resolution script
License: Other
Dynamic Resolution Enabled from HDRP quality settings.
Camera has Dynamic resolution ticked.
dynamic resolution type set to hardware, upscale filter set to fidelity FX
Script untouched and dropped in the main camera.
Uncommented #define ENABLE_DYNAMIC_RESOLUTION_DEBUG,
Shows: Enabled: false
I'm on URP 2021.3.11. In HDRP you can change filtering in the editor, and in URP you can change it for renderscale. How can I choose e.g. FSR for dynamic resolution upscaling?
is this should works on mac m1 ?
I'm new to the HDRP so it might be me just messing something up, but I have done everything mentioned in the README and documentation.
// If either of these report zero it means the platform doesn't support dynamic resolution.
if (FrameTimingManager.GetCpuTimerFrequency() == 0 || FrameTimingManager.GetGpuTimerFrequency() == 0)
{
PlatformSupported = false;
SystemEnabled = false;
}
I figured out that both of the checks return 0 here, but I'm using Windows build, and I believe it's supported.
However, the script is still working to at least some extent. The target frame rate succesfully scales down on slower computers.
Even when dynamic resolution is clearly working. Scale always shows 1 and the resolution is always the screen resolution.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.