Ship model changed
This commit is contained in:
parent
40c425b64e
commit
5f116faf2a
10
cw 6/models/ship.mtl
Normal file
10
cw 6/models/ship.mtl
Normal file
@ -0,0 +1,10 @@
|
||||
# Blender MTL File: 'None'
|
||||
# Material Count: 1
|
||||
|
||||
newmtl None
|
||||
Ns 500
|
||||
Ka 0.8 0.8 0.8
|
||||
Kd 0.8 0.8 0.8
|
||||
Ks 0.8 0.8 0.8
|
||||
d 1
|
||||
illum 2
|
35069
cw 6/models/ship.obj
Normal file
35069
cw 6/models/ship.obj
Normal file
File diff suppressed because it is too large
Load Diff
@ -158,7 +158,7 @@ void init()
|
||||
glEnable(GL_DEPTH_TEST);
|
||||
programColor = shaderLoader.CreateProgram("shaders/shader_color.vert", "shaders/shader_color.frag");
|
||||
programTexture = shaderLoader.CreateProgram("shaders/shader_tex.vert", "shaders/shader_tex.frag");
|
||||
loadModelToContext("models/spaceship.obj", shipContext);
|
||||
loadModelToContext("models/ship.obj", shipContext);
|
||||
loadModelToContext("models/sphere.obj", sphereContext);
|
||||
loadModelToContext("models/seafloor.obj", seafloorContext);
|
||||
loadModelToContext("models/skybox.obj", skyboxContext);
|
||||
|
Loading…
Reference in New Issue
Block a user