Pages: 2
Rating : ⭐⭐⭐⭐⭐
Price: $10.99
Page 1 Preview
myinout blue stripe down middle myinout smoothstep

Myinout blue stripe down middle myinout smoothstep

632 CHAPTER 18 Advanced Buffers

LISTING 18.10 Continued

// red star on yellow background
vec3 surfColor = mix(yellow, red, myInOut);

// blue stripe down middle
myInOut = smoothstep(0.0, smoothEdgeTol,
abs(NV.z) - stripeThickness); surfColor = mix(blue, surfColor, myInOut);

FIGURE 18.10 Making Your Whites Whiter and Your Brights Brighter 633

Our glowing toy ball after the first pass. The red tinted glow appears white

due to floating-point clamping because all color channels exceed 1.0.

You are viewing 1/3rd of the document.Purchase the document to get full access instantly

Immediately available after payment
Both online and downloadable
No strings attached
How It Works
Login account
Login Your Account
Place in cart
Add to Cart
send in the money
Make payment
Document download
Download File

Uploaded by : Susan George

PageId: ELI9979D5C