Navigation Menu

Skip to content

Commit

Permalink
Model Renderer|Shaders: Added uMapTime to model.skeletal.unlit.diffuse
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Jan 5, 2016
1 parent 74ae639 commit e6c39a1
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -237,6 +237,7 @@ model.skeletal {
variable uAlpha { value = 1.0 }
variable uColor { value <1, 1, 1> }
variable uOffsetUV { value <0, 0> }
variable uMapTime {}

# Mapping when used with ModelDrawable.
textureMapping <diffuse>
Expand Down Expand Up @@ -275,6 +276,7 @@ model.skeletal {
uniform highp float uAlpha;
uniform highp vec3 uColor; // diffuse color multiplier
uniform highp vec2 uOffsetUV;
uniform highp float uMapTime;

varying highp vec4 vColor;
varying highp vec2 vUV;
Expand Down

0 comments on commit e6c39a1

Please sign in to comment.