Skip to content

Commit

Permalink
Dump 0.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
pissang committed Apr 6, 2017
1 parent e662b0d commit 157703d
Show file tree
Hide file tree
Showing 6 changed files with 187 additions and 110 deletions.
265 changes: 171 additions & 94 deletions dist/qtek.js

Large diffs are not rendered by default.

22 changes: 11 additions & 11 deletions dist/qtek.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name" : "qtek",
"version" : "0.3.0",
"version" : "0.3.1",
"description": "WebGL graphic library",
"keywords": [
"graphic",
Expand Down
4 changes: 2 additions & 2 deletions src/shader/source/compositor/dof.essl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ uniform float focalRange: 1;
// 30mm
uniform float focalLength: 30;
// f/2.8
uniform float fstop: 0.36;
uniform float fstop: 2.8;

varying vec2 v_Texcoord;

Expand All @@ -25,7 +25,7 @@ void main()

float dist = 2.0 * zNear * zFar / (zFar + zNear - z * (zFar - zNear));

float aperture = 1.0 / fstop;
float aperture = focalLength / fstop;

float coc;

Expand Down
2 changes: 1 addition & 1 deletion src/shader/source/compositor/dof.essl.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/version.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
define(function (require) {
return '0.3.0';
return '0.3.1';
});

0 comments on commit 157703d

Please sign in to comment.