Sfoglia il codice sorgente

Docs: Update ShaderMaterial

Mugen87 7 anni fa
parent
commit
bfe5b6689e
1 ha cambiato i file con 9 aggiunte e 1 eliminazioni
  1. 9 1
      docs/api/materials/ShaderMaterial.html

+ 9 - 1
docs/api/materials/ShaderMaterial.html

@@ -46,7 +46,15 @@
 			</li>
 			<li>
 				You can use the directive #pragma unroll_loop in order to unroll a *for* loop in GLSL by the shader preprocessor.
-				The directive has to be placed right above the loop. The loop itself has to be normalized/well-behaved.
+				The directive has to be placed right above the loop. The loop itself has to correspond to a defined standard.
+				<ul>
+					<li>
+						The loop has to be normalized/well-behaved.
+					</li>
+					<li>
+						The loop variable must be *i*.
+					</li>
+				</ul>
 			</li>
 		</ul>
 		</div>