瀏覽代碼

Update pbr.vs

pull/4561/head
Ray 2 週之前
committed by GitHub
父節點
當前提交
f9cf684356
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: B5690EEEBB952194
共有 1 個檔案被更改,包括 6 行新增6 行删除
  1. +6
    -6
      examples/shaders/resources/shaders/glsl100/pbr.vs

+ 6
- 6
examples/shaders/resources/shaders/glsl100/pbr.vs 查看文件

@ -1,11 +1,11 @@
#version 100
// Input vertex attributes
attribute vec3 vertexPosition;
attribute vec2 vertexTexCoord;
attribute vec3 vertexNormal;
attribute vec3 vertexTangent;
attribute vec4 vertexColor;
attribute vec3 vertexPosition;
attribute vec2 vertexTexCoord;
attribute vec3 vertexNormal;
attribute vec3 vertexTangent;
attribute vec4 vertexColor;
// Input uniform values
uniform mat4 mvp;
@ -72,4 +72,4 @@ void main()
// Calculate final vertex position
gl_Position = mvp * vec4(vertexPosition, 1.0);
}
}

Loading…
取消
儲存