Commit Graph

15 Commits

Author SHA1 Message Date
16953ba932 Implemented camera downsampling (without reducing the render target resolution, for temporary drops of resolution without any skipped frames)
--HG--
branch : nfb
2014-04-29 00:30:14 -07:00
0405eb681b New streaming algorithm in progress
Corrected reflections
Corrected KRMATERIAL_ALPHA_MODE_BLENDTWOSIDE alpha mode
Corrected alpha transparent back face culling

--HG--
branch : nfb
2014-04-12 23:42:26 -07:00
Kelly
a70df621b2 fixed the Point Light Flare positioning
--HG--
branch : nfb
2014-03-17 23:44:51 -07:00
d8082ba50d Modified behaviour of KRSprite's
KRSprite's no longer have a "sprite_size" attribute.  Instead, the node's scale is used.
KRSprite's no longer orient towards the camera automatically.  This enables applications to perform their own orientation behaviours and use the sprites for UI elements that may rotate.

--HG--
branch : nfb
2014-01-15 00:53:03 -08:00
e5121e3958 Fixed syntax error in rim shader
--HG--
branch : nfb
2013-12-05 01:17:30 -08:00
79abdd98d0 Implemented rim_light and rim_power shader parameters, enabling outlining of objects on a per-model basis.
Will need to later refactor to allow for a more scalable means of adding per-model shader attributes.

--HG--
branch : nfb
2013-12-05 01:09:31 -08:00
c7948ea314 KRSprite objects now have their own shader, rather than sharing the "Flare" shader.
Implemented per-sprite alpha.

--HG--
branch : nfb
2013-12-03 01:15:17 -08:00
eb6ee6c676 Fixed shader compile error that occurred when using Reflection Map scale or offset attributes in a material.
Fixed bug that caused the Reflection Map scale to be swapped with the Normal Map scale material parameter.
Fixed bug that caused the Reflection Map offset to be swapped with the Normal Map offset material parameter.

--HG--
branch : nfb
2013-09-07 16:57:18 -07:00
73cdad122b Small optimization to sky box shader 2013-05-24 18:53:50 -07:00
e0aaafc327 - Implemented KRBehavior class
- Imported animations now have the auto_play and loop flags set to false by default
- Implemented Pre-Rotation, Post-Rotation, Scale Offset, Rotate Offset, Scale Pivot, and Rotate Pivot transform attributes.
- Reduced use of euler angles, replacing them with Quaternions where possible
- Fixed bug with incorrect Y rotation in KRMat4::rotate
- Material / GL Context changes have been optimized to reduce redundant glUniform calls
- New KRMesh format implemented, with support for importing BindPose matrices
- Fixed bug that caused a duplicate "default_camera" node to be added rather than picking up an existing "default_camera" node imported from FBX.  This enables animations to drive the camera correctly.
- Implemented KRVector3::Scale
- Implemented KRVector3::KRVector3(double *v);
2013-05-24 12:20:47 -07:00
2de749ff16 Added ability to store position, normal, tangent, and uv vertex attributes using GL_SHORT to reduce memory consumption and bandwidth.
Now taking advantage of GL_EXT_discard_framebuffer to reduce extraneous memory copy operations in the PowerVR driver
Implemented native support for Maya's extended scene graph node attributes (pre-transform, post-transform, pivot sets, scale compensation)
Debugging of broken skinned mesh renderer in progress
2013-05-13 13:16:25 -07:00
cb59a6f38e Switched to pre-multiplied alpha pipeline, requiring asset textures to be premultiplied as well. 2013-05-02 15:51:51 -07:00
30f39ea19f Corrected lighting model for transparent surfaces. Reflections and specular are no longer masked by the alpha channel. 2013-05-02 13:32:36 -07:00
9e7a79ac9c Profiler / Debug visualizations in progress
Implemented support for dynamic VBO's (used by text rendering system)
2013-03-21 13:21:04 -07:00
ff63061722 Organized project to be more portable and require fewer steps to integrate into application projects in Xcode.
Moved standard assets into bundles
2013-01-31 02:16:47 -08:00