ソースを参照

Small shader fix on vec3 initialization #1298

pull/1330/head
raysan5 5年前
コミット
488c60d139
1個のファイルの変更1行の追加1行の削除
  1. +1
    -1
      examples/models/resources/shaders/glsl330/skybox.fs

+ 1
- 1
examples/models/resources/shaders/glsl330/skybox.fs ファイルの表示

@ -23,7 +23,7 @@ out vec4 finalColor;
void main()
{
// Fetch color from texture map
vec3 color = nf">{ 0.0 };
vec3 color = err">vec3(0.0);
if (vflipped) color = texture(environmentMap, vec3(fragPosition.x, -fragPosition.y, fragPosition.z)).rgb;
else color = texture(environmentMap, fragPosition).rgb;

読み込み中…
キャンセル
保存