분류 전체보기
-
Tutorial 30: Multiple Point Lights 연습문제Directx 11 with rastertek 2022. 9. 28. 22:09
To Do Exercises 1. Recompile and run the program. You should see a plane illuminated by four different point lights. 2. Position the red, green, and blue point lights at the same location. You should see the resulting point light is white. 3. Change the color and position of the point lights to see the different effects. 4. Add a fifth point light. 5. Only render one point light to see the effec..
-
Tutorial 29: Water 연습문제Directx 11 with rastertek 2022. 9. 27. 14:30
To Do Exercises 1. Recompile and run the program. You should get animated reflective/refractive water. 2. Modify how the reflection and refraction are coming by changing the 0.6f value in: color = lerp(reflectionColor, refractionColor, 0.6f) 3. Modify reflectRefractScale value (its the last value sent into the m_WaterShader->Render function). 4. Create your own normal map and see the difference ..
-
Tutorial 28: Screen FadesDirectx 11 with rastertek 2022. 9. 25. 23:49
To Do Exercises 1. Recompile and run the program. The cube show slowly fade in over a 5 second period and then start rendering normally. Press escape to quit. 2. Change the speed at which the scene fades in. 3. Change the color the back buffer is cleared to in the render to texture so you can see the exact moment the application switches to rendering normally. 4. Change the code to fade the scen..
-
Tutorial 26: Transparency 연습문제Directx 11 with rastertek 2022. 9. 23. 14:38
To Do Exercises 1. Recompile the and run the program. Press escape to quit. 2. Change the value of the blendAmount in the GraphicsRender function to see different amounts of transparency. 1. 다시 컴파일하고 프로그램을 실행합니다. 종료하려면 ESC를 누르십시오. 2. GraphicsRender 함수의 blendAmount 값을 변경하여 다른 투명도를 확인합니다. graphicsclass.cpp bool GraphicsClass::Render() { ......................생략...................... blendAmount = ..
-
Tutorial 25: Texture Translation 연습문제Directx 11 with rastertek 2022. 9. 23. 13:56
To Do Exercises 1. Recompile the code and ensure you get a texture translating across the polygon surface. 2. Change the pixel shader to affect the Y axis instead of the X axis. 3. Change the pixel shader to affect both the Y axis and then X axis by the same translation value. 1. 코드를 다시 컴파일하고 도형 표면을 가로지르는 변환된 텍스처가 있는지를 확인합니다. 2. X축 대신 Y축에 영향을 미치도록 픽셀 셰이더를 변경해주세요. translate.ps float4 TranslatePix..
-
Tutorial 24: Clipping Planes 연습문제Directx 11 with rastertek 2022. 9. 22. 20:53
To Do Exercises 1. Recompile the code and you should get a triangle cut in half on the Y axis. Press escape to quit. 2. Load the cube model instead of the triangle model and turn off culling in the D3DClass. Set the cube to rotate and move the camera up a bit as well. You should see the cube cut in half and be able to see inside it now. 3. Change the clip plane to cull different parts of the cub..
-
Tutorial 23: Fog 연습문제Directx 11 with rastertek 2022. 9. 21. 18:22
To Do Exercises 1. Recompile and run the program. You should get a spinning cube inside fog. Press escape to quit. 2. Change the values for the fog start and end locations. 3. Clear the back buffer to black instead of the fog color to see how the effect actually works on the models. 4. Implement the two other fog equations I listed earlier. 1. 프로그램을 다시 컴파일하여 실행합니다. 안개 속에서 회전하는 큐브를 볼 수 있습니다. 종료하려..
-
Tutorial 22: Render to Texture 연습문제Directx 11 with rastertek 2022. 9. 21. 15:46
To Do Exercises 1. Recompile the project and run it. You should get a spinning cube as well as a smaller spinning cube on a blue background showing the render to texture effect. 2. Modify the debug window to ensure the aspect ratio is correct for different monitor resolutions. 3. Change the 3D scene and ensure it renders correctly to a render to texture object. 4. Change the camera angle at whic..