Contents
How to compute robust Multiple specular reflections and refractions?
Robust Multiple Specular Reflections and Refractions In this chapter, we present a robust algorithm to compute single and multiple reflections and refractions on the GPU.
What causes specular reflection and what causes diffuse reflection?
Normally a roadway would cause diffuse reflection due to its rough surface. But if the surface is wet, water can fill in the crevices and smooth out the surface. Rays of light from the beam of an oncoming car hit this smooth surface, undergo specular reflection and remain concentrated in a beam.
What kind of waves are in a ripple tank?
This is a simulation of a ripple tank. It demonstrates waves in two dimensions, including such wave phenomena as interference, diffraction (single slit, double slit, etc.), refraction, resonance, phased arrays, and the Doppler effect. To get started with the applet, just go through the items in the Example menu in the upper right.
Which is a property of a specular reflector?
The material property is the reflected radiance for diffuse surfaces and the Fresnel factor at perpendicular illumination for specular reflectors. For refractors, the index of refraction is also stored as a material property. The distance is measured from the center of the cube map (that is, from the reference point).
How to change the size of a reflection probe?
If you are using a Sky texture, reflections are by default blended with it. By default, on interiors, reflections may appear not to have much consistence. In this scenario, make sure to tick the “Box Correct” property. This setting changes the reflection from an infinite skybox to reflecting a box the size of the probe:
Why do fragment shaders need access to the scene?
To trace these rays, the fragment shader should have access to the scene. Because fragment shaders may access global (that is, uniform) parameters and textures, this requirement can be met if the scene geometry is stored in uniform parameters or in textures.