瀏覽代碼

Merge pull request #1056 from NasimiAsl/master

Compile from git hub
David Catuhe 9 年之前
父節點
當前提交
1d5871f973

文件差異過大導致無法顯示
+ 1362 - 0
Extensions/ShaderBuilder/Babylon.ShaderBuilder.ts


文件差異過大導致無法顯示
+ 969 - 0
Extensions/ShaderBuilder/Babylon.shaderBuilder.js


+ 55 - 0
Extensions/ShaderBuilder/ReadMe.md

@@ -0,0 +1,55 @@
+ <h1 >Shader Builder Requirement</h1>
+  1. BabylonJs all version 
+  2. Eash.min.js
+  3. Know About how work Shader 
+  
+  // You Can Be Perfesional in Eash if You Know :</div>
+  4. Mathematicals  
+    a. Basic
+    b. Vector 2D,3D and Matrix System <a   href="https://en.wikipedia.org/wiki/Vector_(mathematics_and_physics)">learn now</a>
+    c. Mathematicals functions, special <a   href="https://en.wikipedia.org/wiki/Trigonometric_functions">Trigonometric functions</a> 
+  5. WebGl <a  href="http://mew.cx/glsl_quickref.pdf">reference</a> 
+
+  <h1 >About Shader Builder </h1> 
+  
+  Eash Is collection of javascript functions ( and classes) for make easily webgl vertex shader and fragment shader. 
+  
+      
+      
+  Benefits. 
+  
+                    a. do not work directly with text. 
+                    
+                    b. can used your custom text anywhere you want.
+                    
+                    c. don't need make shader language structer.
+                    
+                    d. don't need make shader material in framework.
+                    
+                    e. can have your output shader anytime you want.
+                    
+                    f. can make all standard material with this .
+                    
+                    g. some useful function let you mix the materials .
+                    
+                    h. can make your custom function and use it always .
+                    
+                    i. work with shader like javascript language.
+                    
+                    j. short and undrastandable structure.
+                    
+                  
+
+ anything in here is a solution for make easy way to solve a problem.
+  so when we look shader parts (fragment and vertex) we see Low-level programming language and that is hard to programming in this language with other high-level language (javascript in this case).
+  
+                        why : shader is Low-level programming language. 
+                     
+                        what: define some structure and function to make easy and understandable .
+                        
+                        who : all babylonjs users . 
+                        
+                        when : anytime we need a matrial or postprocess we can use that.
+                        
+                        where : in Browsers can be support WebGl. 
+