【文件属性】:
文件名称:ShaderX_RipplingRefractiveAndReflectiveWater
文件大小:380KB
文件格式:PDF
更新时间:2021-07-19 10:39:16
shader warter
水反射折射的计算
One of the classic challenges of real-time computer graphics is to generate
realistic looking water. Because water can look very different depending on the context
of the scene, it is important to define a few different categories of water effects. For
example, techniques used to render ocean water may not produce realistic looking puddle
water. With this in mind, the shaders presented in this chapter will focus on highly
realistic per-pixel lighting effects used to render real-time lake water. Unlike ocean
water, lake water does not have large rolling swells. Instead, the surface geometry
consists of high frequency, non-uniform perturbations that give the surface a subtle
choppiness resulting in slightly distorted reflections and refractions. Because of these
surface characteristics, shallow water reflections and refractions as shown in Figure 1 can
be reasonably approximated with planar reflections and renderable textures.