Questions tagged [texture]
For questions related to textures: procedural generation, encodings, aspect characterisation, filtering, mapping, storage...
255 questions
0 votes
0 answers
36 views
How are these mixer textures generated?
I have the mixer texture for terrain blending (images attached) and I’m curious how they’re made. Are they procedural (generated by code) or usually hand-painted? Any tips or references would be great....
1 vote
0 answers
44 views
Texture prefiltering for the paper "Real-Time Polygonal-Light Shading Texture"
Recently I tried to implement the paper "Real-Time Polygonal-Light Shading Texture" and was confused by the texture part (sections 5.2 - 5.3). In my understanding, the key is to compute: $$...
1 vote
0 answers
117 views
How to importance sample emissive textures on meshes?
I have a mesh in my scene. That mesh has an emissive texture mapped on it. For my direct lighting integration, I'll need to sample that mesh. I could sample it uniformly and read the emissive texture ...
1 vote
0 answers
44 views
Covering texture surface with ellipses
I am looking for an algorithm (also ideas on possible directions are appreciated) which is able to compute the distribution of ellipses on a 2D surface in order to reach a good degree of covering. I ...
0 votes
3 answers
134 views
Texture coordinates
Consider the square shown below on the left, which has been textured with the image shown on the right. What are the texture coordinates of the vertices a, b, c, and d? Does anyone know how to answer ...
2 votes
1 answer
263 views
Best approach for slicing texture images for raycasting
I'm working on a 2D (pseudo-3D) raycaster which operates on a 2D tile grid. For each ray sent out, the screen draws a rectangle with a certain height depending on the distance between the camera and ...
0 votes
1 answer
104 views
OpenGL texture unit bindings - Why is a single texture mapped to both texture units when each are individually assigned?
I am using NVIDIA Nsight to debug my OpenGL state. In the screenshots below: I generate a single texture with the ID 10. I activate ...
0 votes
1 answer
332 views
Can I copy one texture to another perfectly with texelFetch()
Imagine I have two uncompressed, 2D textures A and B with identical sizes and formats. I bind A to texture unit 0, and B to a framebuffer object. If I draw a full-size polygon in that framebuffer with ...