Commit Graph

12 Commits

Author SHA1 Message Date
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
77550118f0 Fixed typo causing compilation error on iOS
Corrected inversion of skybox on OSX

--HG--
branch : nfb
2014-01-25 18:43:34 -08: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
f6da62221f KTX Texture compression fixed for opaque textures without an alpha channel.
KTX Texture mipmaps now loading correctly.

--HG--
branch : nfb
2014-01-04 03:36:56 -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
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
cfa1f35088 Updated OSX object shader to use the pre-multiplied alpha pipeline 2013-05-06 12:55:47 -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
b7f3b4510a OSX Build now running, although some textures will not appear and the frame buffer size is hard-coded. (Will need DXT compression for desktop). 2013-02-06 11:59:24 -08: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