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.
85 questions
0
votes
1
answer
39
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
0
answers
77
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
419
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 ...
0
votes
1
answer
497
views
Cubemap rotation
I have a skybox with stars cubemap
So, how can I rotate stars cubemap on Z axis using "Rotate About Axis"?
1
vote
1
answer
4k
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
684
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
126
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
655
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 ...
1
vote
0
answers
238
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 ...
0
votes
1
answer
172
views
Crash when creating RenderTargetViews for Cubemap
I want to create a cubemap and I want to render to it and later sample from it for reflections.
However, It crashes when I try to create the faces for the cubemap.
Here is my code:
...
3
votes
2
answers
2k
views
How does cube mapping work?
Based on my reading of cube mapping tutorials so far, my understanding is that you need a direction vector, and from the direction vector we can determine the point of intersection with one of the six ...
0
votes
1
answer
54
views
(While using a cube map) box-like textures appearing around my scene whenever I move the camera
I've been learning about cube map and I implemented one into my program. It seemed to work well until I started moving the camera around the scene and zooming out. As you can see in the attached gif, ...
0
votes
1
answer
187
views
samplerCube for point light shadow map has dark corners relative to screen aspect ratio / size?
I almost have point light shadows working but the corner of the samplerCube that I use for the shadow map has corners that get darker depending on the main camera. Is this something to do with a ...