Sha256: c7160787bfa0ff03aad82536501175e5e37859b75c672855066115eaad86dffb

Contents?: true

Size: 259 Bytes

Versions: 19

Compression:

Stored size: 259 Bytes

Contents

uniform samplerCube tCube;
uniform float tFlip;

in vec3 vWorldPosition;

#include common
#include logdepthbuf_pars_fragment

void main() {
  fragColor = texture( tCube, vec3( tFlip * vWorldPosition.x, vWorldPosition.yz ) );
  #include logdepthbuf_fragment
}

Version data entries

19 entries across 19 versions & 2 rubygems

Version Path
mittsu-opengl-0.5.1 lib/mittsu/opengl/shader/lib/cube/cube_fragment.rbsl
mittsu-0.4.1 lib/mittsu/renderers/shaders/shader_lib/cube/cube_fragment.rbsl
mittsu-opengl-0.5.0 lib/mittsu/opengl/shader/lib/cube/cube_fragment.rbsl
mittsu-0.4.0 lib/mittsu/renderers/shaders/shader_lib/cube/cube_fragment.rbsl
mittsu-0.3.3 lib/mittsu/renderers/shaders/shader_lib/cube/cube_fragment.rbsl
mittsu-0.3.2 lib/mittsu/renderers/shaders/shader_lib/cube/cube_fragment.rbsl
mittsu-0.3.1 lib/mittsu/renderers/shaders/shader_lib/cube/cube_fragment.rbsl
mittsu-0.3.0 lib/mittsu/renderers/shaders/shader_lib/cube/cube_fragment.rbsl
mittsu-0.2.4 lib/mittsu/renderers/shaders/shader_lib/cube/cube_fragment.rbsl
mittsu-0.2.3 lib/mittsu/renderers/shaders/shader_lib/cube/cube_fragment.rbsl
mittsu-0.2.2 lib/mittsu/renderers/shaders/shader_lib/cube/cube_fragment.rbsl
mittsu-0.2.1 lib/mittsu/renderers/shaders/shader_lib/cube/cube_fragment.rbsl
mittsu-0.2.0 lib/mittsu/renderers/shaders/shader_lib/cube/cube_fragment.rbsl
mittsu-0.1.7 lib/mittsu/renderers/shaders/shader_lib/cube/cube_fragment.rbsl
mittsu-0.1.6 lib/mittsu/renderers/shaders/shader_lib/cube/cube_fragment.rbsl
mittsu-0.1.5 lib/mittsu/renderers/shaders/shader_lib/cube/cube_fragment.rbsl
mittsu-0.1.4 lib/mittsu/renderers/shaders/shader_lib/cube/cube_fragment.rbsl
mittsu-0.1.3 lib/mittsu/renderers/shaders/shader_lib/cube/cube_fragment.rbsl
mittsu-0.1.2 lib/mittsu/renderers/shaders/shader_lib/cube/cube_fragment.rbsl