File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1084,10 +1084,10 @@ void main()
10841084
10851085; ; Uniform variables are parameters that remain constant throughout the shader execution, unlike vertex input data.
10861086; ; Here we use the following uniform variables:
1087- ; ; * resolution: a 2D vector containing the window pixel width and height
1088- ; ; * light: a 3D unit vector pointing to the light source
1089- ; ; * rotation: a 3x3 rotation matrix to rotate the camera around the origin
1090- ; ; * focal_length: the ratio of camera focal length to pixel size of the virtual camera
1087+ ; ; * ** resolution: a 2D vector containing the window pixel width and height
1088+ ; ; * ** light:** a 3D unit vector pointing to the light source
1089+ ; ; * ** rotation:** a 3x3 rotation matrix to rotate the camera around the origin
1090+ ; ; * ** focal_length:** the ratio of camera focal length to pixel size of the virtual camera
10911091(defn setup-fog-uniforms
10921092 [program width height]
10931093 (let [rotation (mulm (rotation-matrix-3d-y (to-radians 40.0 ))
You can’t perform that action at this time.
0 commit comments