# Questions tagged [bump-map]

The tag has no usage guidance.

16 questions
Filter by
Sorted by
Tagged with
70 views

### Normal map lighting is just slightly off

I've been trying to implement normal mapping into my custom OpenGL shader. The result I'm getting is almost there, but it looks like the Point Light is not ...
• 4,775
204 views

### How can I prevent height map artifacting when wrapping a texture around a sphere?

So, I have been on a bit of a journey wrapping a texture around a sphere. So, if you are reading this looking for spherical texture wrapping solutions, I would suggest checking out my last post as ...
1 vote
170 views

### Surface normal vs tangent space

I am having a hard time being convinced why calculating the tangent space the way most textbooks do is the best thing to do? Why shouldn't we just simply use the edges of our triangle as Tangent and ...
829 views

### High-resolution bump map displays bad in Godot

I made a model in Blender, with a normal map. There it renders good. Now I imported that model to Godot 3.4 stable, and in the far distance, it looks ugly. If camera is close enough "steps" ...
• 177
1 vote
1k views

### How can I access the normal map value in Unity?

I'm simulating laser scanners in Unity with Raycasts, and I've got some "bumpy" items I'd like to scan. I had tried generating the actual geometry for these objects, but there are tons of ...
• 249
39 views

### How does displacement mapping generalize bump mapping?

This PDF discusses bump mapping, a special case of displacement mapping. A surface is represented as a function $\overrightarrow{O}\left(u,\,v\right):\:\Bbb R^2\mapsto\Bbb R^3$. In bump mapping, we ...
• 151
3k views

### How to write a shader that only uses a bump map without a normal map

So I understand that for best results one uses a height (or bump) map and a normal map together. And I also understand that one can calculate a normal map from a height map using some sobel operator. ...
• 103
1k views

### Unity: Change the type of a Texture2D to "Normal map" through script

I am making procedural terrains through c# script, and while I achieve to produce a texture, a heightmap and a normalmap to Texture2D, it seems they are not being ...
252 views

### opengl bump mapping (normal mapping) problem with VBO and GLSL

hi i am beginner i am trying to implement bump mapping with vbo and glsl. My question is: did i make bump mapping ? if i did why these edges didnt disappear ? high and low meshes (i used low meshes ...
• 535
2k views

### How to add a bump map in scene kit?

I'm trying to draw an Earth, as I've found the textures in this site: http://planetpixelemporium.com/earth.html I loaded the diffuse, specular and bump maps: ...
568 views

### Normal Mapping issue

The first image shows a spotlight shining correctly on the floor. The second image shows the same spotlight but rotated 180 degrees. The first is correct, the second is not. The third image shows ...
• 113
3k views

### Is it possible to calculate the TBN matrix in the fragment shader?

Just from model position, model normal and texture uv?
• 183
826 views

### GLSL to Cg fragment shader

I have found very useful resource on the Swiftless website on OpenGL. Unfortunately, I cannot manage to adapt a GLSL fragment shader to my project, which uses Cg. Here it is: ...
• 133
178 views

### Unifying Texture-, Bump- and Lightmapping

I would like to implement a rendering component that makes use of texture-, bump- and light mapping. Unfortunately, I am a little bit stuck on some implementation details. In particular, Does each ...
• 103
647 views

### Transforming Normals in Bump Maps

Question I have a noise texture (perlin noise, to be precise) with its value in the alpha channel and the normal components in rgb. I now wish to, on the fly, ...
• 65
1 vote