anm-ol / sim3d

https://anm-ol.github.io
6 stars 1 forks source link

Vertex Shader compiling issue #10

Closed anm-ol closed 3 months ago

anm-ol commented 4 months ago

7

Error log>> ERROR::SHADER::FILE_NOT_SUCCESSFULLY_READ: ios_base::failbit set: iostream stream error ERROR::PROGRAM_LINKING_ERROR of type: PROGRAM Vertex info

(0) : error C5145: must write to gl_Position


anm-ol commented 4 months ago

Actually the error might be in the program linking(shader.h) instead of vertex shader

anm-ol commented 3 months ago

fixed with #11