Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release Summer 2015 #103

Merged
merged 50 commits into from
Sep 8, 2015
Merged

Release Summer 2015 #103

merged 50 commits into from
Sep 8, 2015

Conversation

brianchirls
Copy link
Owner

New Features/Improvements

Bug fixes

New Plugins

New Examples

Misc.

  • Update included version of three.js to r71
  • Code clean-up

…ntal and vertical displacement

- options: 'red', 'green', 'blue', 'alpha', 'luma', 'lightness', 'none'
- Incorrect reference to `options.canvas` was referring to global `canvas`
- Removed unused function parameter
- renamed unused error objects to `ignore`
A workaround for broken/missing support for the `premultipliedAlpha` WebGL context option in Safari and Internet Explorer. This is not ideal, because it changes the output values of `readPixels` on WebGL target nodes. But it appears to be the only way to make transparent backgrounds work in all browsers.

According to the WebGL spec, support for the option is mandatory, so there is no way to feature-detect whether it's working in a given browser. So the workaround needs to apply everywhere.
- Plugins:
  - accumulator
  - blend
  - blur
  - directional blur
  - split
- Default gamma set to 2.2
so speed of horizontal bars can be adjusted independently from distortion
…ontext

- include additional unit test for this bug
Added Color Look-Up Table effect, with example
See note at: #23 (comment)

The accumulator node will be cleared to startColor when it's initialized or resized so that adjustment layers have something to draw on top of. Eliminates the need to start with a color generator node that is then removed.
- spelled "initialize" correctly. Speak American.
- Shader linking errors include the name of the shader to make bug reporting easier
Before, we had a special case for browsers/GPUs that did not support 10 varyings.
New shaders squeeze everything into less than 8. WebGL spec guarantees support for
at least 8 varyings, so these should work everywhere without the need for a special
case. This will hopefully be faster on low-end GPUs and maybe avoid varying packing
bugs in some GPU drivers.
- only allocate regexes once
- get color name values from canvas instead of CSS; upcoming versions of Chrome no longer report color values in computed style
- tighten up variable declarations
- failed validation reverts to default value
@brianchirls brianchirls changed the title Relase Summer 2015 Release Summer 2015 Sep 5, 2015
brianchirls added a commit that referenced this pull request Sep 8, 2015
@brianchirls brianchirls merged commit 513d2b8 into master Sep 8, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant