HW2


BasicShading.vert 코드에서 일부 수정있습니다.
#version 330 core
// Input vertex data, different for all executions of this shader.
in vec3 vPosition; // vertex position (in model space)
in vec3 vNormal; // vertex normal (in model space)

BasicShading.frag 코드에서도 일부 수정있습니다.
#version 330 core
// Interpolated values from the vertex shaders
in vec3 PositionWorldPass;
in vec3 NormalViewPass;
in vec3 EyeDirectionViewPass;
in vec3 LightDirectionViewPass;



 

Leave a Reply

Your email address will not be published. Required fields are marked *