织梦CMS - 轻松建站从此开始!

abg欧博官网|登陆|游戏|

3D Graphics Rendering Cookbook

时间:2026-01-03 18:04来源: 作者:admin 点击: 5 次
Chapter 8: Image-Based Techniques. A chapter from 3D Graphics Rendering Cookbook by Sergey Kosarevsky, Viktor Latypov

Implementing HDR rendering in Vulkan

Just recently, in the previous recipe, we learned how to implement one OpenGL postprocessing effect in Vulkan, and here, we will learn how to implement HDR rendering and tone mapping using the Vulkan API.

Getting ready…

Make sure you read the Implementing HDR rendering and tone mapping recipe to understand the HDR rendering pipeline, and the Writing postprocessing effects in Vulkan recipe to have a good grasp of the basic classes we use in our Vulkan postprocessors.

The complete source code for this recipe can be found in Chapter8/VK03_HDR.

How to do it...

We define an HDRPostprocessor class derived from QuadProcessor that performs a per-pixel tone-mapping operation on an input framebuffer. The tone-mapping parameter pointers can be tweaked by the application code in the UI window.

One C++-related subtlety must be addressed in the initialization of the HDRProstprocessor class:

The base class constructor is called...

Visually different images

Read this chapter and the full book FREE of cost - No Credit card required!

Plus access over 8,000 other expert tech books and videos just by signing up - No commitment!

CONTINUE READING

83

Tech Concepts

36

Programming languages

73

Tech Tools

Icon

Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.

Icon

Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.

Icon

50+ new titles added per month and exclusive early access to books as they are being written.

3D Graphics Rendering Cookbook

(责任编辑:)
------分隔线----------------------------
发表评论
请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。
评价:
表情:
用户名: 验证码:
发布者资料
查看详细资料 发送留言 加为好友 用户等级: 注册时间:2026-01-10 12:01 最后登录:2026-01-10 12:01
栏目列表
推荐内容