Description: In this tutorial I ll teach you how to use three different texture filters. I ll teach you how to move an object using keys on the keyboard, and I ll also teach you how to apply simple lighting to your OpenGL scene. Lots covered in this tutorial, so if the previous tutorials are giving you problems, go back and review. It s important to have a good understanding of the basics before you jump into the following code.
We re going to be modifying the code from lesson one again. As usual, if there are any major changes, I will write out the entire section of code that has been modified. We ll start off by adding a few new variables to the program. Platform: |
Size: 68334 |
Author:mwb |
Hits:
Description: In this tutorial I ll teach you how to use three different texture filters. I ll teach you how to move an object using keys on the keyboard, and I ll also teach you how to apply simple lighting to your OpenGL scene. Lots covered in this tutorial, so if the previous tutorials are giving you problems, go back and review. It s important to have a good understanding of the basics before you jump into the following code.
We re going to be modifying the code from lesson one again. As usual, if there are any major changes, I will write out the entire section of code that has been modified. We ll start off by adding a few new variables to the program. -In this tutorial I ll teach you how to use three different texture filters. I ll teach you how to move an object using keys on the keyboard, and I ll also teach you how to apply simple lighting to your OpenGL scene. Lots covered in this tutorial, so if the previous tutorials are giving you problems, go back and review. It s important to have a good understanding of the basics before you jump into the following code. We re going to be modifying the code from lesson one again. As usual, if there are any major changes, I will write out the entire section of code that has been modified. We ll start off by adding a few new variables to the program. Platform: |
Size: 1345536 |
Author:mwb |
Hits:
Description: Apply texture object s swizzle (X Y Z W 0 1) to incoming texel and return results in colorOut .
-Apply texture object s swizzle (X Y Z W 0 1) to incoming texel and return results in colorOut .
Platform: |
Size: 4096 |
Author:diutangbp |
Hits: