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

m #250

Merged
merged 6 commits into from
Apr 27, 2017
Merged

m #250

merged 6 commits into from
Apr 27, 2017

Conversation

guycalledfrank
Copy link
Owner

No description provided.

guycalledfrank and others added 6 commits April 20, 2017 12:39
* emulate slope-scaled depth bias on WebGL 1
* fix formula
* fix vsm
Added:

    camera.scissorRect (similar to rect). Clips all pixels which are not in the rectangle (without rescaling the image).
    camera.customTransformFunc and customProjFunc. Custom function you can provide to calculate the camera transformation/projection matrices manually. Useful for reflections and possibly something else. Function is called using component's scope. Arguments are an output matrix and a view mode, which can be VIEW_CENTER, VIEW_LEFT and VIEW_RIGHT. Left and right are only called during stereo rendering.
    camera.cullFaces and flipFaces. Controls how camera interprets material.cull.

Fixed:

    camera component's aspectRatio not updated properly.
@guycalledfrank guycalledfrank merged commit c371bb6 into guycalledfrank:master Apr 27, 2017
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.

3 participants