U.S. Trade Deal Could Help UK Economy, but Won’t Transform It – The New York Times

U.S. Trade Deal Could Help UK Economy, but Won’t Transform It - The New York Times Source link

Your all-in-one tool for smarter financial decisions

Inflation, market volatility, and concerns about a potential recession have left many Americans feeling unsure about their financial future. Although you can’t control the larger economic forces at play, you can take more control over what happens in your own...

Man gets mental health check-up in jail after homicide, kidnapping charges dropped without prejudice

GAINESVILLE, Fla. (WCJB) - A Gainesville man who was found too incompetent to stand in his own murder trial is going through another round of mental evaluations.Last year, a judge dismissed two homicide charges against Cedric Plummer, 31.He was arrested for...

Recapping The 2025 GRAMMY U Conference In NYC: Life Lessons, Laufey & More Tips For Young Music Industry Professionals

Among its many exciting activities, one of GRAMMY U’s hallmark initiatives is the annual GRAMMY U Mentorship Program. Presented by Amazon Music, the annual mentorship program connects aspiring GRAMMY U members to the Recording Academy's Voting and Professional...

Trump announces 100% tariffs for movies produced outside US, calls Hollywood crisis a ‘national security threat’

(File photo) Donald Trump has said that the United States will slap a 100% tariff on all foreign-made films, accusing other countries of undermining Hollywood and using cinema as a propaganda tool.The dramatic announcement came via a post on Truth Social, in...

Washington, D.C. named as host for 2027 NFL draft

John KeimMay 4, 2025, 10:11 PM ETCloseJohn Keim covers the Washington Commanders for ESPN. He joined ESPN in 2013 after a stint with the Washington Post. He started covering the team in 1994 for the Journal Newspapers and later for the Washington Examiner. He...

Low-cost carriers hit hardest by US travel demand slump | Reuters

Low-cost carriers hit hardest by US travel demand slump | Reuters Source link

Microsoft raises Xbox console prices, games to start at $80 amid tariff uncertainty

Microsoft (MSFT) is raising the price of its Xbox consoles, games, and accessories worldwide amid ongoing tariff uncertainty surrounding consumer technology goods. The price jump, which starts May 1, means customers will now have to pay as much as $79.99 for...

John Elway’s business partner, ex-agent dies after fall from golf cart driven by Hall of Fame QB, per report

Tragedy struck in the life of Denver Broncos Hall of Fame quarterback John Elway on Wednesday. Jeff Sperbeck -- Elway's longtime friend, business partner and former agent -- died from injuries suffered when falling from a golf cart reportedly driven by Elway,...

Landmark global pandemic agreement adopted by World Health Organization members

Landmark global pandemic agreement adopted by World Health Organization members Source link


If you’ve played a game using Unreal Engine, or for that matter any modern game engine, you’ve likely encountered various forms of stuttering. One major issue is shader stuttering, as games build up that cache and it seems Epic Games have a solution for Unreal Engine.

We might finally see games eventually perform a lot better on PC.

Their blog post is highly technical but it’s good to see Epic developers are working on solutions, and giving advice to developers on some best practices. In super-simple basic terms: when developers make games, the shaders used to render 3D images are written in a language that needs to be changed so your GPU can actually run it.

“Shader compilation stuttering happens when a render engine discovers that it needs to compile a new shader right before it uses it for drawing something, so everything stops while waiting for the driver to finish compilation.” – Epic Games

The issue, as Epic say, is that going way back games didn’t have as many shaders, and so this code translation wasn’t much of an issue when running a game. But, games have grown a lot bigger and more complex resulting in all the stuttering.

“Rendering an object usually involves several shaders (e.g. a vertex shader and a pixel shader working together), as well as a number of other settings for the GPU: culling mode, blend mode, depth and stencil comparison modes etc. Together, these items describe the configuration, or state, of the GPU pipeline.

Older graphics APIs like Direct3D 11 and OpenGL allow for changing parts of the state individually and at arbitrary times, which means that the driver only sees the complete configuration when the game issues a draw request. Some settings influence the executable shader code, so there are cases when the driver can only start compiling shaders when the draw command is processed. This can take tens of milliseconds or more for a single draw command, resulting in very long frames when a shader is used for the first time—a phenomenon known to most gamers as hitching or stuttering.

Modern APIs require developers to package all the shaders and settings they will use for a draw request into a Pipeline State Object and set it as a single unit. Crucially, PSOs can be constructed at any time, so in theory engines can create everything they need sufficiently early (for example during loading), so that compilation has time to finish before rendering.” – Epic Games

Making use of modern graphics APIs like Direct3D 12 and Vulkan with Pipeline State Objects (PSOs) is part of the solution. They even talk up Vulkan’s Graphics Pipeline Library as a “good initiative”. However, prior to Unreal Engine 5.2, they were suggesting developers run “automated level fly-throughs, and other such discovery methods” (like playing the game through) to build up a cache of the PSOs to bundle with the game (in a way, similar to Valve’s shader precache system on Steam). The problem is, as they say, it has many limitations like being “resource-intensive and it must be kept up to date when content changes”.

With Unreal Engine 5.2 they introduced a PSO precaching system, to enable developers to do a fair amount of this at game loading time. With GPU drivers saving these PSOs, they can be re-loaded and reduce loading time on subsequent game sessions and result in a smoother gameplay experience. This precache system is not finished though and still seeing lots of improvements:

“The precaching system has evolved a lot since its experimental introduction in 5.2 and it prevents most kinds of shader compilation stutters. However, it still has some coverage gaps and other limitations, so there are ongoing efforts to improve it further. We’re also working with hardware and software vendors to adapt drivers and graphics APIs to the way games use these systems in practice.” – Epic Games

Epic ends the post with a few bits of useful advice for game developers on ensuring a smoother experience.

Article taken from GamingOnLinux.com.



Source link