mirror of
https://github.com/devZoGok/vb01.git
synced 2026-08-26 19:43:30 +00:00
updated samples to use the new shader system
some bugfixes
This commit is contained in:
+2
-2
@@ -75,8 +75,8 @@ int main(){
|
||||
* and frame number.
|
||||
*/
|
||||
KeyframeChannel kcL;
|
||||
kcL.animatable = leftMat;
|
||||
kcL.type = KeyframeChannel::DIFFUSE_COLOR_X;
|
||||
kcL.animatable = leftMat->getUniform("diffuseColor");
|
||||
kcL.type = KeyframeChannel::UNIFORM_1;
|
||||
kcL.keyframes = vector<Keyframe>({
|
||||
KeyframeChannel::createKeyframe(Keyframe::LINEAR, 1, 0),
|
||||
KeyframeChannel::createKeyframe(Keyframe::LINEAR, 0, 1)
|
||||
|
||||
Reference in New Issue
Block a user