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.
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.
>
>
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.
>
>
thanks
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
>
>
yes i want render a video environment on a water surface and other geomity but a spheremap is not suitable for this.
Hi all, please do tell me that with Max 7 it's possible to have a cube texture to be sampled with samplerCube, this would make me really happy!
jit.gl.cubemap?
Sorry solved, somehow was scared by the fact that jit.gl.cubemap doesn't accept textures as inputs
yeah, that's a long standing feature request
One more thing dear Rob: it seems to me that jit.gl.cubemap sets the bit depth of the textures inside to something lower than float16. Is that really so? I'm doing BRDF and need to sample an hdr image from a cubemap. but the high float numbers get somehow cut from jit.gl.cube. Can you confirm me that?
Maybe there's a workaround for that?
no idea, post patch, example files, steps to repro, and expected behavior and i'll see what i can see (or email me)
Hi Rob, I sent you an email, thanks a lot.