Skip to main content

Questions tagged [cubemap]

Cube mapping is an environment mapping method that renders the area of interest onto the six faces of a cube and later uses such textures to render specular highlights, reflections, and skyboxes.

10 votes
1 answer
733 views

Environment mapping without cubemap (need coordinates projection)

I'm working on a project with C++ and glsl (4.1). I have implemented a mirror object which is a plane at height 0 that works as follow: I render the scene with a MVP computed such that the camera ...
0 votes
1 answer
72 views

Shadow artifact with cubemap shadow for pointlights

I am facing some difficulties with the use of a cubemap shadow associated to a poinlight (represented as the yellow bicone in the picture). The shadow map itself is generated properly (see picture). ...
0 votes
2 answers
864 views

Cube map faster than 6 2D textures? - shadow mapping

I've managed to implement shadow mapping to a scene. However, I had problems using a cube map so I eventually gave it up and used 6 2D texture maps instead. To make this work with 6 2D maps, during ...
8 votes
1 answer
847 views

Understanding how texCUBE works and writing cubemaps properly into a cube rendertarget

My goal is to create accurate reflections, sampled from a dynamic cubemap, for specific 3d objects (mostly lights) in XNA 4.0. To sample the cubemap I compute the 3d reflection vector in a classic ...
0 votes
1 answer
665 views

Cubemap rotation

I have a skybox with stars cubemap So, how can I rotate stars cubemap on Z axis using "Rotate About Axis"?
0 votes
0 answers
93 views

How to blend local cubemaps?

I have a (GPU) Buffer that contains the World Position and Extents of Local Cubemaps aswell as a TextureArray that contains the textures of the Cubemaps. The Bounds of the Local Cubemaps are Axis ...
0 votes
1 answer
518 views

Make moon using cubemap in shadergraph

I'm trying to make moon with a cubemap texture in shadergraph. I made it, but the texture is incorrect. I'm using a cubemap from NASA as a texture and it works, but it's bigger than moon shape and ...
1 vote
1 answer
5k views

How To Convert World Space Normal To Tangent Space?

This question is a continuation of this post on How To Make Seamless Custom CubeMap? The idea is to create a cube map with procedurally generated noise, extract the noise and a normal map of the noise ...
3 votes
1 answer
788 views

How To Make Seamless Custom CubeMap?

I'm currently working on a Three.js project, and I'm aiming to create a seamless cube map. To achieve this, I created six planes and assembled them into a cube. Then, I utilized a shader to generate ...
1 vote
1 answer
1k views

Cube Mapping vs Spherical Mapping

I am currently researching the difference between Cube Mapping and Spherical Mapping. Wikipedia says the following: In the majority of cases, cube mapping is preferred over the older method of sphere ...
1 vote
0 answers
138 views

Camera not rendering to rendertexture inside class

I have an issue where I created a class to generate a lightprobe atlas texture for me, but the camera don't seem to render properly into teh rendertexture, I have no idea why... someone can help me ...
0 votes
1 answer
702 views

Make the texture array node work with cubemaps?

I am working on a procedural interior mapping shader in Unity's Shader Graph. Ideally, I'd like to feed it a set of cubemaps it can pick from semi-randomly. However, it seems that by default the ...
6 votes
1 answer
2k views

Stepping through 3D noise to generate a cubemap for a sphere

This is somewhat related to a previous question I asked How to create a seamless cubemap noise texture? I have managed to successfully step through a 3D noise function to create a cubemap texture ...
1 vote
0 answers
258 views

What is the best way to bake my own environment maps?

My engine has support for IBL by using pre-obtained HDRIs. It looks fine, but... I want the environment map to match the scene that is currently being rendered I want the environment map to take the ...
0 votes
0 answers
1k views

Skybox from file at runtime in Unity: Error assigning 2D texture to CUBE texture property '_Tex': Dimensions must match

I'm downloading skyboxes at runtime, and then I'd like to set them as the current scene's Skybox. After I successfully downloaded the desired cubemap into the ApplicationData folder, I'm trying to set ...

15 30 50 per page
1
2 3 4 5 6