Cube Environment Mapping

Nov 28, 2007 at 9:00pm

Cube Environment Mapping

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.

#34798
Nov 28, 2007 at 9:04pm

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.
>
>

#117949
Nov 28, 2007 at 9:05pm

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.
>
>

#117950
Nov 28, 2007 at 9:11pm

thanks

#117951
Nov 28, 2007 at 9:21pm

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
>
>

#117952
Nov 28, 2007 at 9:31pm

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

#117953

You must be logged in to reply to this topic.