├── .gitattributes ├── .gitignore ├── Chapter1 ├── 1-CreatingAWindow │ ├── 1-CreatingAWindow.csproj │ ├── Program.cs │ └── Window.cs ├── 2-HelloTriangle │ ├── 2-HelloTriangle.csproj │ ├── Program.cs │ ├── Shaders │ │ ├── shader.frag │ │ └── shader.vert │ └── Window.cs ├── 3-ElementBufferObjects │ ├── 3-ElementBufferObjects.csproj │ ├── Program.cs │ ├── Shaders │ │ ├── shader.frag │ │ └── shader.vert │ └── Window.cs ├── 4-Shaders-InsAndOuts │ ├── 4-Shaders-InsAndOuts.csproj │ ├── Program.cs │ ├── Shaders │ │ ├── shader.frag │ │ └── shader.vert │ └── Window.cs ├── 4-Shaders-MoreAttributes │ ├── 4-Shaders-MoreAttributes.csproj │ ├── Program.cs │ ├── Shaders │ │ ├── shader.frag │ │ └── shader.vert │ └── Window.cs ├── 4-Shaders-Uniforms │ ├── 4-Shaders-Uniforms.csproj │ ├── Program.cs │ ├── Shaders │ │ ├── shader.frag │ │ └── shader.vert │ └── Window.cs ├── 5-Textures │ ├── 5-Textures.csproj │ ├── Program.cs │ ├── Resources │ │ └── container.png │ ├── Shaders │ │ ├── shader.frag │ │ └── shader.vert │ └── Window.cs ├── 6-MultipleTextures │ ├── 6-MultipleTextures.csproj │ ├── Program.cs │ ├── Resources │ │ ├── awesomeface.png │ │ └── container.png │ ├── Shaders │ │ ├── shader.frag │ │ └── shader.vert │ └── Window.cs ├── 7-Transformations │ ├── 7-Transformations.csproj │ ├── Program.cs │ ├── Resources │ │ ├── awesomeface.png │ │ └── container.png │ ├── Shaders │ │ ├── shader.frag │ │ └── shader.vert │ └── Window.cs ├── 8-CoordinatesSystems │ ├── 8-CoordinatesSystems.csproj │ ├── Program.cs │ ├── Resources │ │ ├── awesomeface.png │ │ └── container.png │ ├── Shaders │ │ ├── shader.frag │ │ └── shader.vert │ └── Window.cs └── 9-Camera │ ├── 9-Camera.csproj │ ├── Program.cs │ ├── Resources │ ├── awesomeface.png │ └── container.png │ ├── Shaders │ ├── shader.frag │ └── shader.vert │ └── Window.cs ├── Chapter2 ├── 1-Colors │ ├── 1-Colors.csproj │ ├── OpenTK.dll.config │ ├── Program.cs │ ├── Shaders │ │ ├── lighting.frag │ │ ├── shader.frag │ │ └── shader.vert │ └── Window.cs ├── 2-BasicLighting │ ├── 2-BasicLighting.csproj │ ├── OpenTK.dll.config │ ├── Program.cs │ ├── Shaders │ │ ├── lighting.frag │ │ ├── shader.frag │ │ └── shader.vert │ └── Window.cs ├── 3-Materials │ ├── 3-Materials.csproj │ ├── OpenTK.dll.config │ ├── Program.cs │ ├── Shaders │ │ ├── lighting.frag │ │ ├── shader.frag │ │ └── shader.vert │ └── Window.cs ├── 4-LightingMaps │ ├── 4-LightingMaps.csproj │ ├── OpenTK.dll.config │ ├── Program.cs │ ├── Resources │ │ ├── container2.png │ │ └── container2_specular.png │ ├── Shaders │ │ ├── lighting.frag │ │ ├── shader.frag │ │ └── shader.vert │ └── Window.cs ├── 5-LightCasters-DirectionalLights │ ├── 5-LightCasters-DirectionalLights.csproj │ ├── OpenTK.dll.config │ ├── Program.cs │ ├── Resources │ │ ├── container2.png │ │ └── container2_specular.png │ ├── Shaders │ │ ├── lighting.frag │ │ ├── shader.frag │ │ └── shader.vert │ └── Window.cs ├── 5-LightCasters-PointLights │ ├── 5-LightCasters-PointLights.csproj │ ├── OpenTK.dll.config │ ├── Program.cs │ ├── Resources │ │ ├── container2.png │ │ └── container2_specular.png │ ├── Shaders │ │ ├── lighting.frag │ │ ├── shader.frag │ │ └── shader.vert │ └── Window.cs ├── 5-LightCasters-Spotlight │ ├── 5-LightCasters-Spotlight.csproj │ ├── OpenTK.dll.config │ ├── Program.cs │ ├── Resources │ │ ├── container2.png │ │ └── container2_specular.png │ ├── Shaders │ │ ├── lighting.frag │ │ ├── shader.frag │ │ └── shader.vert │ └── Window.cs └── 6-MultipleLights │ ├── 6-MultipleLights.csproj │ ├── OpenTK.dll.config │ ├── Program.cs │ ├── Resources │ ├── container2.png │ └── container2_specular.png │ ├── Shaders │ ├── lighting.frag │ ├── shader.frag │ └── shader.vert │ └── Window.cs ├── Common ├── Camera.cs ├── Common.csproj ├── Shader.cs └── Texture.cs ├── LICENSE ├── LearnOpenTK.sln └── README.md /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/.gitattributes -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/.gitignore -------------------------------------------------------------------------------- /Chapter1/1-CreatingAWindow/1-CreatingAWindow.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter1/1-CreatingAWindow/1-CreatingAWindow.csproj -------------------------------------------------------------------------------- /Chapter1/1-CreatingAWindow/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter1/1-CreatingAWindow/Program.cs -------------------------------------------------------------------------------- /Chapter1/1-CreatingAWindow/Window.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter1/1-CreatingAWindow/Window.cs -------------------------------------------------------------------------------- /Chapter1/2-HelloTriangle/2-HelloTriangle.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter1/2-HelloTriangle/2-HelloTriangle.csproj -------------------------------------------------------------------------------- /Chapter1/2-HelloTriangle/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter1/2-HelloTriangle/Program.cs -------------------------------------------------------------------------------- /Chapter1/2-HelloTriangle/Shaders/shader.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter1/2-HelloTriangle/Shaders/shader.frag -------------------------------------------------------------------------------- /Chapter1/2-HelloTriangle/Shaders/shader.vert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter1/2-HelloTriangle/Shaders/shader.vert -------------------------------------------------------------------------------- /Chapter1/2-HelloTriangle/Window.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter1/2-HelloTriangle/Window.cs -------------------------------------------------------------------------------- /Chapter1/3-ElementBufferObjects/3-ElementBufferObjects.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter1/3-ElementBufferObjects/3-ElementBufferObjects.csproj -------------------------------------------------------------------------------- /Chapter1/3-ElementBufferObjects/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter1/3-ElementBufferObjects/Program.cs -------------------------------------------------------------------------------- /Chapter1/3-ElementBufferObjects/Shaders/shader.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter1/3-ElementBufferObjects/Shaders/shader.frag -------------------------------------------------------------------------------- /Chapter1/3-ElementBufferObjects/Shaders/shader.vert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter1/3-ElementBufferObjects/Shaders/shader.vert -------------------------------------------------------------------------------- /Chapter1/3-ElementBufferObjects/Window.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter1/3-ElementBufferObjects/Window.cs -------------------------------------------------------------------------------- /Chapter1/4-Shaders-InsAndOuts/4-Shaders-InsAndOuts.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter1/4-Shaders-InsAndOuts/4-Shaders-InsAndOuts.csproj -------------------------------------------------------------------------------- /Chapter1/4-Shaders-InsAndOuts/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter1/4-Shaders-InsAndOuts/Program.cs -------------------------------------------------------------------------------- /Chapter1/4-Shaders-InsAndOuts/Shaders/shader.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter1/4-Shaders-InsAndOuts/Shaders/shader.frag -------------------------------------------------------------------------------- /Chapter1/4-Shaders-InsAndOuts/Shaders/shader.vert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter1/4-Shaders-InsAndOuts/Shaders/shader.vert -------------------------------------------------------------------------------- /Chapter1/4-Shaders-InsAndOuts/Window.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter1/4-Shaders-InsAndOuts/Window.cs -------------------------------------------------------------------------------- /Chapter1/4-Shaders-MoreAttributes/4-Shaders-MoreAttributes.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter1/4-Shaders-MoreAttributes/4-Shaders-MoreAttributes.csproj -------------------------------------------------------------------------------- /Chapter1/4-Shaders-MoreAttributes/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter1/4-Shaders-MoreAttributes/Program.cs -------------------------------------------------------------------------------- /Chapter1/4-Shaders-MoreAttributes/Shaders/shader.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter1/4-Shaders-MoreAttributes/Shaders/shader.frag -------------------------------------------------------------------------------- /Chapter1/4-Shaders-MoreAttributes/Shaders/shader.vert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter1/4-Shaders-MoreAttributes/Shaders/shader.vert -------------------------------------------------------------------------------- /Chapter1/4-Shaders-MoreAttributes/Window.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter1/4-Shaders-MoreAttributes/Window.cs -------------------------------------------------------------------------------- /Chapter1/4-Shaders-Uniforms/4-Shaders-Uniforms.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter1/4-Shaders-Uniforms/4-Shaders-Uniforms.csproj -------------------------------------------------------------------------------- /Chapter1/4-Shaders-Uniforms/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter1/4-Shaders-Uniforms/Program.cs -------------------------------------------------------------------------------- /Chapter1/4-Shaders-Uniforms/Shaders/shader.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter1/4-Shaders-Uniforms/Shaders/shader.frag -------------------------------------------------------------------------------- /Chapter1/4-Shaders-Uniforms/Shaders/shader.vert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter1/4-Shaders-Uniforms/Shaders/shader.vert -------------------------------------------------------------------------------- /Chapter1/4-Shaders-Uniforms/Window.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter1/4-Shaders-Uniforms/Window.cs -------------------------------------------------------------------------------- /Chapter1/5-Textures/5-Textures.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter1/5-Textures/5-Textures.csproj -------------------------------------------------------------------------------- /Chapter1/5-Textures/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter1/5-Textures/Program.cs -------------------------------------------------------------------------------- /Chapter1/5-Textures/Resources/container.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter1/5-Textures/Resources/container.png -------------------------------------------------------------------------------- /Chapter1/5-Textures/Shaders/shader.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter1/5-Textures/Shaders/shader.frag -------------------------------------------------------------------------------- /Chapter1/5-Textures/Shaders/shader.vert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter1/5-Textures/Shaders/shader.vert -------------------------------------------------------------------------------- /Chapter1/5-Textures/Window.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter1/5-Textures/Window.cs -------------------------------------------------------------------------------- /Chapter1/6-MultipleTextures/6-MultipleTextures.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter1/6-MultipleTextures/6-MultipleTextures.csproj -------------------------------------------------------------------------------- /Chapter1/6-MultipleTextures/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter1/6-MultipleTextures/Program.cs -------------------------------------------------------------------------------- /Chapter1/6-MultipleTextures/Resources/awesomeface.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter1/6-MultipleTextures/Resources/awesomeface.png -------------------------------------------------------------------------------- /Chapter1/6-MultipleTextures/Resources/container.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter1/6-MultipleTextures/Resources/container.png -------------------------------------------------------------------------------- /Chapter1/6-MultipleTextures/Shaders/shader.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter1/6-MultipleTextures/Shaders/shader.frag -------------------------------------------------------------------------------- /Chapter1/6-MultipleTextures/Shaders/shader.vert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter1/6-MultipleTextures/Shaders/shader.vert -------------------------------------------------------------------------------- /Chapter1/6-MultipleTextures/Window.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter1/6-MultipleTextures/Window.cs -------------------------------------------------------------------------------- /Chapter1/7-Transformations/7-Transformations.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter1/7-Transformations/7-Transformations.csproj -------------------------------------------------------------------------------- /Chapter1/7-Transformations/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter1/7-Transformations/Program.cs -------------------------------------------------------------------------------- /Chapter1/7-Transformations/Resources/awesomeface.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter1/7-Transformations/Resources/awesomeface.png -------------------------------------------------------------------------------- /Chapter1/7-Transformations/Resources/container.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter1/7-Transformations/Resources/container.png -------------------------------------------------------------------------------- /Chapter1/7-Transformations/Shaders/shader.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter1/7-Transformations/Shaders/shader.frag -------------------------------------------------------------------------------- /Chapter1/7-Transformations/Shaders/shader.vert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter1/7-Transformations/Shaders/shader.vert -------------------------------------------------------------------------------- /Chapter1/7-Transformations/Window.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter1/7-Transformations/Window.cs -------------------------------------------------------------------------------- /Chapter1/8-CoordinatesSystems/8-CoordinatesSystems.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter1/8-CoordinatesSystems/8-CoordinatesSystems.csproj -------------------------------------------------------------------------------- /Chapter1/8-CoordinatesSystems/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter1/8-CoordinatesSystems/Program.cs -------------------------------------------------------------------------------- /Chapter1/8-CoordinatesSystems/Resources/awesomeface.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter1/8-CoordinatesSystems/Resources/awesomeface.png -------------------------------------------------------------------------------- /Chapter1/8-CoordinatesSystems/Resources/container.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter1/8-CoordinatesSystems/Resources/container.png -------------------------------------------------------------------------------- /Chapter1/8-CoordinatesSystems/Shaders/shader.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter1/8-CoordinatesSystems/Shaders/shader.frag -------------------------------------------------------------------------------- /Chapter1/8-CoordinatesSystems/Shaders/shader.vert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter1/8-CoordinatesSystems/Shaders/shader.vert -------------------------------------------------------------------------------- /Chapter1/8-CoordinatesSystems/Window.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter1/8-CoordinatesSystems/Window.cs -------------------------------------------------------------------------------- /Chapter1/9-Camera/9-Camera.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter1/9-Camera/9-Camera.csproj -------------------------------------------------------------------------------- /Chapter1/9-Camera/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter1/9-Camera/Program.cs -------------------------------------------------------------------------------- /Chapter1/9-Camera/Resources/awesomeface.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter1/9-Camera/Resources/awesomeface.png -------------------------------------------------------------------------------- /Chapter1/9-Camera/Resources/container.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter1/9-Camera/Resources/container.png -------------------------------------------------------------------------------- /Chapter1/9-Camera/Shaders/shader.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter1/9-Camera/Shaders/shader.frag -------------------------------------------------------------------------------- /Chapter1/9-Camera/Shaders/shader.vert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter1/9-Camera/Shaders/shader.vert -------------------------------------------------------------------------------- /Chapter1/9-Camera/Window.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter1/9-Camera/Window.cs -------------------------------------------------------------------------------- /Chapter2/1-Colors/1-Colors.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter2/1-Colors/1-Colors.csproj -------------------------------------------------------------------------------- /Chapter2/1-Colors/OpenTK.dll.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter2/1-Colors/OpenTK.dll.config -------------------------------------------------------------------------------- /Chapter2/1-Colors/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter2/1-Colors/Program.cs -------------------------------------------------------------------------------- /Chapter2/1-Colors/Shaders/lighting.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter2/1-Colors/Shaders/lighting.frag -------------------------------------------------------------------------------- /Chapter2/1-Colors/Shaders/shader.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter2/1-Colors/Shaders/shader.frag -------------------------------------------------------------------------------- /Chapter2/1-Colors/Shaders/shader.vert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter2/1-Colors/Shaders/shader.vert -------------------------------------------------------------------------------- /Chapter2/1-Colors/Window.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter2/1-Colors/Window.cs -------------------------------------------------------------------------------- /Chapter2/2-BasicLighting/2-BasicLighting.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter2/2-BasicLighting/2-BasicLighting.csproj -------------------------------------------------------------------------------- /Chapter2/2-BasicLighting/OpenTK.dll.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter2/2-BasicLighting/OpenTK.dll.config -------------------------------------------------------------------------------- /Chapter2/2-BasicLighting/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter2/2-BasicLighting/Program.cs -------------------------------------------------------------------------------- /Chapter2/2-BasicLighting/Shaders/lighting.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter2/2-BasicLighting/Shaders/lighting.frag -------------------------------------------------------------------------------- /Chapter2/2-BasicLighting/Shaders/shader.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter2/2-BasicLighting/Shaders/shader.frag -------------------------------------------------------------------------------- /Chapter2/2-BasicLighting/Shaders/shader.vert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter2/2-BasicLighting/Shaders/shader.vert -------------------------------------------------------------------------------- /Chapter2/2-BasicLighting/Window.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter2/2-BasicLighting/Window.cs -------------------------------------------------------------------------------- /Chapter2/3-Materials/3-Materials.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter2/3-Materials/3-Materials.csproj -------------------------------------------------------------------------------- /Chapter2/3-Materials/OpenTK.dll.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter2/3-Materials/OpenTK.dll.config -------------------------------------------------------------------------------- /Chapter2/3-Materials/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter2/3-Materials/Program.cs -------------------------------------------------------------------------------- /Chapter2/3-Materials/Shaders/lighting.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter2/3-Materials/Shaders/lighting.frag -------------------------------------------------------------------------------- /Chapter2/3-Materials/Shaders/shader.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter2/3-Materials/Shaders/shader.frag -------------------------------------------------------------------------------- /Chapter2/3-Materials/Shaders/shader.vert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter2/3-Materials/Shaders/shader.vert -------------------------------------------------------------------------------- /Chapter2/3-Materials/Window.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter2/3-Materials/Window.cs -------------------------------------------------------------------------------- /Chapter2/4-LightingMaps/4-LightingMaps.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter2/4-LightingMaps/4-LightingMaps.csproj -------------------------------------------------------------------------------- /Chapter2/4-LightingMaps/OpenTK.dll.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter2/4-LightingMaps/OpenTK.dll.config -------------------------------------------------------------------------------- /Chapter2/4-LightingMaps/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter2/4-LightingMaps/Program.cs -------------------------------------------------------------------------------- /Chapter2/4-LightingMaps/Resources/container2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter2/4-LightingMaps/Resources/container2.png -------------------------------------------------------------------------------- /Chapter2/4-LightingMaps/Resources/container2_specular.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter2/4-LightingMaps/Resources/container2_specular.png -------------------------------------------------------------------------------- /Chapter2/4-LightingMaps/Shaders/lighting.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter2/4-LightingMaps/Shaders/lighting.frag -------------------------------------------------------------------------------- /Chapter2/4-LightingMaps/Shaders/shader.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter2/4-LightingMaps/Shaders/shader.frag -------------------------------------------------------------------------------- /Chapter2/4-LightingMaps/Shaders/shader.vert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter2/4-LightingMaps/Shaders/shader.vert -------------------------------------------------------------------------------- /Chapter2/4-LightingMaps/Window.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter2/4-LightingMaps/Window.cs -------------------------------------------------------------------------------- /Chapter2/5-LightCasters-DirectionalLights/5-LightCasters-DirectionalLights.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter2/5-LightCasters-DirectionalLights/5-LightCasters-DirectionalLights.csproj -------------------------------------------------------------------------------- /Chapter2/5-LightCasters-DirectionalLights/OpenTK.dll.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter2/5-LightCasters-DirectionalLights/OpenTK.dll.config -------------------------------------------------------------------------------- /Chapter2/5-LightCasters-DirectionalLights/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter2/5-LightCasters-DirectionalLights/Program.cs -------------------------------------------------------------------------------- /Chapter2/5-LightCasters-DirectionalLights/Resources/container2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter2/5-LightCasters-DirectionalLights/Resources/container2.png -------------------------------------------------------------------------------- /Chapter2/5-LightCasters-DirectionalLights/Resources/container2_specular.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter2/5-LightCasters-DirectionalLights/Resources/container2_specular.png -------------------------------------------------------------------------------- /Chapter2/5-LightCasters-DirectionalLights/Shaders/lighting.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter2/5-LightCasters-DirectionalLights/Shaders/lighting.frag -------------------------------------------------------------------------------- /Chapter2/5-LightCasters-DirectionalLights/Shaders/shader.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter2/5-LightCasters-DirectionalLights/Shaders/shader.frag -------------------------------------------------------------------------------- /Chapter2/5-LightCasters-DirectionalLights/Shaders/shader.vert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter2/5-LightCasters-DirectionalLights/Shaders/shader.vert -------------------------------------------------------------------------------- /Chapter2/5-LightCasters-DirectionalLights/Window.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter2/5-LightCasters-DirectionalLights/Window.cs -------------------------------------------------------------------------------- /Chapter2/5-LightCasters-PointLights/5-LightCasters-PointLights.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter2/5-LightCasters-PointLights/5-LightCasters-PointLights.csproj -------------------------------------------------------------------------------- /Chapter2/5-LightCasters-PointLights/OpenTK.dll.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter2/5-LightCasters-PointLights/OpenTK.dll.config -------------------------------------------------------------------------------- /Chapter2/5-LightCasters-PointLights/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter2/5-LightCasters-PointLights/Program.cs -------------------------------------------------------------------------------- /Chapter2/5-LightCasters-PointLights/Resources/container2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter2/5-LightCasters-PointLights/Resources/container2.png -------------------------------------------------------------------------------- /Chapter2/5-LightCasters-PointLights/Resources/container2_specular.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter2/5-LightCasters-PointLights/Resources/container2_specular.png -------------------------------------------------------------------------------- /Chapter2/5-LightCasters-PointLights/Shaders/lighting.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter2/5-LightCasters-PointLights/Shaders/lighting.frag -------------------------------------------------------------------------------- /Chapter2/5-LightCasters-PointLights/Shaders/shader.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter2/5-LightCasters-PointLights/Shaders/shader.frag -------------------------------------------------------------------------------- /Chapter2/5-LightCasters-PointLights/Shaders/shader.vert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter2/5-LightCasters-PointLights/Shaders/shader.vert -------------------------------------------------------------------------------- /Chapter2/5-LightCasters-PointLights/Window.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter2/5-LightCasters-PointLights/Window.cs -------------------------------------------------------------------------------- /Chapter2/5-LightCasters-Spotlight/5-LightCasters-Spotlight.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter2/5-LightCasters-Spotlight/5-LightCasters-Spotlight.csproj -------------------------------------------------------------------------------- /Chapter2/5-LightCasters-Spotlight/OpenTK.dll.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter2/5-LightCasters-Spotlight/OpenTK.dll.config -------------------------------------------------------------------------------- /Chapter2/5-LightCasters-Spotlight/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter2/5-LightCasters-Spotlight/Program.cs -------------------------------------------------------------------------------- /Chapter2/5-LightCasters-Spotlight/Resources/container2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter2/5-LightCasters-Spotlight/Resources/container2.png -------------------------------------------------------------------------------- /Chapter2/5-LightCasters-Spotlight/Resources/container2_specular.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter2/5-LightCasters-Spotlight/Resources/container2_specular.png -------------------------------------------------------------------------------- /Chapter2/5-LightCasters-Spotlight/Shaders/lighting.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter2/5-LightCasters-Spotlight/Shaders/lighting.frag -------------------------------------------------------------------------------- /Chapter2/5-LightCasters-Spotlight/Shaders/shader.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter2/5-LightCasters-Spotlight/Shaders/shader.frag -------------------------------------------------------------------------------- /Chapter2/5-LightCasters-Spotlight/Shaders/shader.vert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter2/5-LightCasters-Spotlight/Shaders/shader.vert -------------------------------------------------------------------------------- /Chapter2/5-LightCasters-Spotlight/Window.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter2/5-LightCasters-Spotlight/Window.cs -------------------------------------------------------------------------------- /Chapter2/6-MultipleLights/6-MultipleLights.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter2/6-MultipleLights/6-MultipleLights.csproj -------------------------------------------------------------------------------- /Chapter2/6-MultipleLights/OpenTK.dll.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter2/6-MultipleLights/OpenTK.dll.config -------------------------------------------------------------------------------- /Chapter2/6-MultipleLights/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter2/6-MultipleLights/Program.cs -------------------------------------------------------------------------------- /Chapter2/6-MultipleLights/Resources/container2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter2/6-MultipleLights/Resources/container2.png -------------------------------------------------------------------------------- /Chapter2/6-MultipleLights/Resources/container2_specular.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter2/6-MultipleLights/Resources/container2_specular.png -------------------------------------------------------------------------------- /Chapter2/6-MultipleLights/Shaders/lighting.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter2/6-MultipleLights/Shaders/lighting.frag -------------------------------------------------------------------------------- /Chapter2/6-MultipleLights/Shaders/shader.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter2/6-MultipleLights/Shaders/shader.frag -------------------------------------------------------------------------------- /Chapter2/6-MultipleLights/Shaders/shader.vert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter2/6-MultipleLights/Shaders/shader.vert -------------------------------------------------------------------------------- /Chapter2/6-MultipleLights/Window.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Chapter2/6-MultipleLights/Window.cs -------------------------------------------------------------------------------- /Common/Camera.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Common/Camera.cs -------------------------------------------------------------------------------- /Common/Common.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Common/Common.csproj -------------------------------------------------------------------------------- /Common/Shader.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Common/Shader.cs -------------------------------------------------------------------------------- /Common/Texture.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/Common/Texture.cs -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/LICENSE -------------------------------------------------------------------------------- /LearnOpenTK.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/LearnOpenTK.sln -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opentk/LearnOpenTK/HEAD/README.md --------------------------------------------------------------------------------