浏览代码

[docs] FXAAShader typo fix: immedates -> immediates

nikolas 7 年之前
父节点
当前提交
e7873a7f2a
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      examples/js/shaders/FXAAShader.js

+ 2 - 2
examples/js/shaders/FXAAShader.js

@@ -705,8 +705,8 @@ THREE.FXAAShader = {
         "    //",
         "    //",
         "    // Extra constants for 360 FXAA Console only.",
         "    // Extra constants for 360 FXAA Console only.",
         "    // Use zeros or anything else for other platforms.",
         "    // Use zeros or anything else for other platforms.",
-        "    // These must be in physical constant registers and NOT immedates.",
-        "    // Immedates will result in compiler un-optimizing.",
+        "    // These must be in physical constant registers and NOT immediates.",
+        "    // Immediates will result in compiler un-optimizing.",
         "    // {xyzw} = float4(1.0, -1.0, 0.25, -0.25)",
         "    // {xyzw} = float4(1.0, -1.0, 0.25, -0.25)",
         "    FxaaFloat4 fxaaConsole360ConstDir",
         "    FxaaFloat4 fxaaConsole360ConstDir",
         ") {",
         ") {",