Sha256: 5ff6fe83559f5f7b719f8cff6dc78ee31e0e1f05c98b590d658d9408733b6fca

Contents?: true

Size: 492 Bytes

Versions: 13

Compression:

Stored size: 492 Bytes

Contents

Jax.Material.Paraboloid = Jax.Class.create(Jax.Material, {
  initialize: function($super, options) {
    $super(Jax.Util.normalizeOptions(options, {shader:"paraboloid"}));
  },
  
  setVariables: function(context, mesh, options, vars) {
    vars.set({
      DP_SHADOW_NEAR: 0.1, //c.world.lighting.getLight().getDPShadowNear() || 0.1;}},
      DP_SHADOW_FAR:  500,//c.world.lighting.getLight().getDPShadowFar() || 500;}},
      DP_DIRECTION: options && options.direction || 1
    });
  }
});

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
jax-2.0.12 lib/assets/javascripts/shaders/paraboloid/material.js
jax-2.0.11 lib/assets/javascripts/shaders/paraboloid/material.js
jax-2.0.10 lib/assets/javascripts/shaders/paraboloid/material.js
jax-2.0.9 lib/assets/javascripts/shaders/paraboloid/material.js
jax-2.0.8 lib/assets/javascripts/shaders/paraboloid/material.js
jax-2.0.7 lib/assets/javascripts/shaders/paraboloid/material.js
jax-2.0.6 lib/assets/javascripts/shaders/paraboloid/material.js
jax-2.0.5 lib/assets/javascripts/shaders/paraboloid/material.js
jax-2.0.4 lib/assets/javascripts/shaders/paraboloid/material.js
jax-2.0.3 lib/assets/javascripts/shaders/paraboloid/material.js
jax-2.0.2 lib/assets/javascripts/shaders/paraboloid/material.js
jax-2.0.1 lib/assets/javascripts/shaders/paraboloid/material.js
jax-2.0.0 lib/assets/javascripts/shaders/paraboloid/material.js