Forums > Jitter

Cube Environment Mapping

November 28, 2007 | 9:00 pm

How can i create a cube map texture (samplerCUBE) in jitter? I want to make a simple environmentmapping-shader with 5 videos and one picture.


November 28, 2007 | 9:04 pm

use jit.gl.plato and make a custom texture with the preferred
mapping. or look at the method used in the jit.gl.render.cube
example, which serially runs six matrices directly into jit.gl.render.

On Nov 28, 2007, at 4:00 PM, peter wrote:

>
> How can i create a cube map texture (samplerCUBE) in jitter? I want
> to make a simple environmentmapping-shader with 5 videos and one
> picture.
>
>


November 28, 2007 | 9:05 pm

Hi,
This is not possible with the current version of Jitter without
writing it yourself.
wes

On Nov 28, 2007 1:00 PM, peter

wrote:
>
> How can i create a cube map texture (samplerCUBE) in jitter? I want to make a simple environmentmapping-shader with 5 videos and one picture.
>
>


November 28, 2007 | 9:11 pm

thanks


November 28, 2007 | 9:21 pm

If you just want to show video on a cube, what Joshua suggests will
work. If you want to use a cube sampler to do reflection or
refraction, then that is not possible right now.

wes

On Nov 28, 2007 1:11 PM, peter

wrote:
>
> thanks
>
>


November 28, 2007 | 9:31 pm

yes i want render a video environment on a water surface and other geomity but a spheremap is not suitable for this.


Viewing 6 posts - 1 through 6 (of 6 total)