Question: QUESTION 17 Which of the following code segment will make the window solid and green? gl.clearColor(0.0, 1.0.0.0, 1.0); g1.clear(gi.COLOR_BUFFER_BIT); gl.clearColor(0.0, 0.0, 1.0, 1.0); Og1.clear(g1.COLOR_BUFFER_BIT); gl.clearColor(0.0,

 QUESTION 17 Which of the following code segment will make the
window solid and green? gl.clearColor(0.0, 1.0.0.0, 1.0); g1.clear(gi.COLOR_BUFFER_BIT); gl.clearColor(0.0, 0.0, 1.0, 1.0);

QUESTION 17 Which of the following code segment will make the window solid and green? gl.clearColor(0.0, 1.0.0.0, 1.0); g1.clear(gi.COLOR_BUFFER_BIT); gl.clearColor(0.0, 0.0, 1.0, 1.0); Og1.clear(g1.COLOR_BUFFER_BIT); gl.clearColor(0.0, 0.0, 0.0, 1.0); g1.clear(gi.COLOR_BUFFER_BIT); gl.clearColor(0.0, 0.0, 0.0, 0.0); g1.clear(g1.COLOR_BUFFER_BIT): gl.clearColor(1.0, 0.0, 0.0, 1.0); g1.clear(gi.COLOR_BUFFER_BIT); QUESTION 18 A viewport is a rectangular area of the display window. By default, it is the entire window, but it can be set to any smaller size in pixels via the function gl.viewport. In following function call, what is the coordinate of the right upper corner of the view port? gl.viewport(1, 2, 3, 4); (42) (46) (1.6) (1.2) QUESTION 19 Consider a minimum GLSL. fragment shader: precision mediump float: void mainot Bl_FragColor - vec4(1.0.0.0, 0.0, 1.0): This shader will make the displayed point to be Green and opaque. True False UFSTION 20

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!