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.

Filter by
Sorted by
Tagged with
0 votes
1 answer
73 views

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). ...
philB's user avatar
  • 331
0 votes
1 answer
524 views

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 ...
user avatar
1 vote
1 answer
5k views

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 ...
Miguel Myers's user avatar
1 vote
1 answer
1k views

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 ...
Angry Red Panda's user avatar
0 votes
1 answer
705 views

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 ...
Weckar E.'s user avatar
  • 842
0 votes
0 answers
1k views

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 ...
Tudvari's user avatar
  • 801
4 votes
2 answers
2k views

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 ...
BunnyDhaliwal's user avatar
0 votes
1 answer
210 views

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 ...
user136756's user avatar
1 vote
0 answers
354 views

I've made a gluSphere render in my display and have given it a cube map texture of the Earth. The texture is visible just fine (see below), but I cannot get it to rotate along with the shape. this ...
njasi's user avatar
  • 11
0 votes
0 answers
962 views

I'm attempting to create a skybox and I'm currently having some issues with the texture where it looks like this: It seems the textures are not really "sticking to their sides" correctly as it looks ...
codelyoko373's user avatar
4 votes
1 answer
1k views

I'm making a minecraft-clone game in C++ using OpenGL. I created a skybox using OpenGL's cube map but the camera can go outside of the skybox since it's an infinite world. Then I changed it to update ...
shun-sato93's user avatar
0 votes
1 answer
273 views

I'm currently trying to render to a cubemap in order to blur it. However the top and bottom faces appear much closer than they should be in the blurred version. I thought the problem came from my ...
cppopengl's user avatar
2 votes
1 answer
1k views

I'm looking to take a 2D texture (previously rendered from the user's perspective), and overlay it overtop of a cubemap. Since a cubemap has 6 textures, I need to run a shader over top of all 6, and ...
Yattabyte's user avatar
  • 1,043
1 vote
0 answers
2k views

I am trying to implement dynamic environment mapping in my OpengGL rendering engine for the purpose of showing reflections. I am following the tutorial found here. This tutorial (and many others that ...
James's user avatar
  • 183
1 vote
0 answers
789 views

I want to create a day night cycle using the procedural skybox shader. The shader doesn't have options to do any blending between cube maps. I want to be able to set a cloud cube map and a night ...
JacketPotatoeFan's user avatar
1 vote
0 answers
715 views

I am wondering whether its possible to automatically generate texture coordinates for custom obj models to work with cubemaps. Every tutorial I see online is about environment mapping. Is it possible ...
Pavels's user avatar
  • 13
0 votes
1 answer
455 views

I'm working on a WebGL project and all my textures render fine. When i wanted to implement a cubemap i started getting this type error. ...
Ali Somay's user avatar
  • 121
2 votes
1 answer
854 views

I implemented a skybox into my program using a tutorial, and using the provided 6 textures from that tutorial to make a cube map texture, my skybox looked fine. However, ever since then every other ...
Rilgon's user avatar
  • 43
0 votes
1 answer
991 views

I have recently learned how to texture a cube in DirectX with a single texture but I am now trying to put multiple textures on a cube. If your confused the photo below should clarify. I am aware of ...
Arjan Singh's user avatar
4 votes
0 answers
1k views

I'm experimenting a strange behaviour of textures inside my shaders. Basically I need and bind two cubemap textures inside my shader but only one gets actually bound. I've tried swapping the two ...
zeb's user avatar
  • 263
3 votes
2 answers
3k views

So I have been spending a lot of time recently implementing a working skybox/skysphere, and have almost completed it. The last thing that I need to do is to load my given texture, a skybox texture ...
Xenonic's user avatar
  • 153
1 vote
1 answer
438 views

I'm trying to learn OpenGL and i'm using SOIL to load images. I have the following piece of code: ...
Youda008's user avatar
  • 113
5 votes
1 answer
2k views

I'm trying to make shadow cube maps in an array. I want to draw each shadow map with a single pass using a geometry shader, which I read about here: https://stackoverflow.com/questions/462721/...
Byron's user avatar
  • 169
1 vote
1 answer
1k views

As of late I've been trying to implement Cubemaps in my engine, and have managed to get the rendering side of them working. Currently, I'm trying to implement a function for creating them, but I ...
Yattabyte's user avatar
  • 1,043
6 votes
2 answers
8k views

I wonder if you can create a cube of water within the unity! I'm starting to use the Unity, and took a sought as to whether there was already something like this ... but have not found any tutorial ...
Igor's user avatar
  • 219