Page 1 of 1

CubeMap layer

Posted: 18 Aug 2016, 18:43
by chriss0212
Hi all,

how can i get a cubemap from one layer to the other??

Thxs and greets

Christian

Re: CubeMap layer

Posted: 19 Aug 2016, 08:39
by stephen
Hey Christian,

In V5.1 and higher the RenderCubeMap Node has a texture output property. You can expose that property and bind it to the Input of e.g. a Skybox Node in the other layer. Change one of the Texture Property Groups to an Empty Texture Property to do that:
SkyboxEmptyTextureProperty.png
Hope the RenderCubeMap Node is what you meant. :D
Stephen

Re: CubeMap layer

Posted: 19 Aug 2016, 11:10
by chriss0212
Hi Stephen,

yes, you are right ;)

Where is the Cubemap texture stored? If i expose it i have no access outside of the container. i just can bind it to a string but not to a file input of a texture ;(

Maybe i am to tired ;(

Greetings

Christian

Re: CubeMap layer

Posted: 19 Aug 2016, 11:24
by Daniel Willer
You can not bind it to a File Property!!
You have to bind it to a Texture Property. Create a Material and then create a Material Stage with a TextureProperty-Empty.

Re: CubeMap layer

Posted: 19 Aug 2016, 11:40
by Dennis
FYI:

Since you want to use the CUBEMAP you must use a "Material Stage -> IBL Specular".
ibl_spec.png
The IBL Specular is the only stage that has a "Cubemap / LongLat loader" :!: :!:
ibl_envmap.png
So, basically follow the guides from Daniel and Stephen but use the "image based lighting - specular" stage.
You can still map the TARGET to anything else than "Specular/ Specular Light" !

Next Thing:

If you use a MIRROR:

The mirror has a Texture Output as well. To make use of the MirrorTexture you would need a Material, Load it into the Empty Texture Property BUT:
For Mapping you would need to select "2D Mapping -> ScreenAligned".
mirror_screenaligned.png
Hope this lights up the topic a bit :)

Best RegArts

Dee

:ugeek:

Re: CubeMap layer

Posted: 19 Aug 2016, 12:20
by chriss0212
Hi Daniel,

as i said: to tired ;)

Thx, this was the hint ;)

Dee: Thx... will check ;)

Greets

Christian

Re: CubeMap layer

Posted: 19 Aug 2016, 12:37
by chriss0212
But is it possible to save that texture? if i try to save it with a textureSaver it sores just a transparent cross on a black background ;)

Greets

Christian