X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fprogrambuilder.cpp;h=1706b9d4ad70c0dc8e362f7c37b754e5df7a02b8;hb=fcd9e657d0c86cfa4c5bb951ccad2ff5f242863a;hp=db9809c4f986a29b2fca7bbd6a204fb31df2de57;hpb=99ffd618b531395fe369b33fb029855d57547365;p=libs%2Fgl.git diff --git a/source/programbuilder.cpp b/source/programbuilder.cpp index db9809c4..1706b9d4 100644 --- a/source/programbuilder.cpp +++ b/source/programbuilder.cpp @@ -136,9 +136,9 @@ const ProgramBuilder::VariableDefinition ProgramBuilder::standard_variables[] = { UNIFORM, "environment", "samplerCube", 0, 0 }, { UNIFORM, "EnvMap::env_eye_matrix", "mat3", 0, 0 }, { UNIFORM, "Material::reflectivity", "float", 0, 0 }, - { UNIFORM, "eye_obj_matrix", "mat4", "gl_ModelViewMatrix", 0 }, - { UNIFORM, "eye_obj_normal_matrix", "mat3", "gl_NormalMatrix", 0 }, - { UNIFORM, "projection_matrix", "mat4", "gl_ProjectionMatrix", 0 }, + { UNIFORM, "Transform::eye_obj_matrix", "mat4", "gl_ModelViewMatrix", 0 }, + { UNIFORM, "Transform::eye_obj_normal_matrix", "mat3", "gl_NormalMatrix", 0 }, + { UNIFORM, "Transform::projection_matrix", "mat4", "gl_ProjectionMatrix", 0 }, { UNIFORM, "ShadowMap::shd_eye_matrix", "mat4", 0, 0 }, { UNIFORM, "Lighting::light_sources", "LightSourceParameters[MAX_LIGHTS]", "gl_LightSource[i]", 0 }, { UNIFORM, "Lighting::ambient_color", "vec4", "gl_LightModel.ambient", 0 },