Tagged Questions

Textures are series of images used in computer graphics to associate locations on a visible surface with varying values. This association is typically done by mapping locations on the texture (usually two-dimensional, but other dimensions and types of textures exist) to locations on the rendered ...

About my intend:
I have an image stack and for several reasons I need them all to be separate 2D-textures. Then for some composed display I need like 5-10 of them to be fused together in one display ...

I'm using an opengl shader on a texture. Once the texture is done shading I want to stop the glUseProgram() function.
Presently the shader is going overtop of everything, including rectf() functions ...

What could be the reason of lag while I scroll a simple texture on a quad using Unity 4? The lag is not consistent, the scroll works for like 3 or 4 seconds smooth and than comes the lag and so on.
...

So I've created this class based off of the Texture2D.EncodeToPNG code example on Unity's website. I'm not getting any errors when I execute it, but I'm also not seeing a new file created. What am I ...

I am creating an OBJ parser which reads the file and draw it using glDrawElements. The thing here is the model is correctly drawn but when I try to give it a texture, it is incorrectly mapped. I have ...

I'm building a game in OpenGL, C++ and I have different sky-box textures for each level, etc...
Now, I have to dynamically change textures on level changes, but there cannot be any lag when I do.
Up ...

Can anyone tell me what I am doing wrong with the textures. The idea was to give different textures(.bmp) to cubes. The program is running without problems, but the textures are not shown correctly.
...

I'm hung up on something that I've not been able to work out and I could really use a fresh set of eyes on it. I'm loading up an array of images, assigning one of them to a texture in LoadGallery.cs. ...

I have problem getting cube maps to work in OpenGL. I followed some tutorials and created my own class wrapping the OpenGL cube map texture.
For start I'm trying to load six images for the cube map ...

I'm trying to apply a texture to a planeGeometry using the three.js engine.
I should be seeing a football field, I'm actually seeing black.
If I replace the map:texture argument with color:0x80ff80, ...

I am using a proxy dll writen in c++ to get screen coordinates of objects in a 3rd party application.
On "3D" objects i use the following in the DrawIndexedPrimitive fucntion to retrieve the screen ...

There are 5 balls with different colors. The choiceBall changes randomly textures(colors) with each tap and indicates which of the other 4 colored balls you have to tap on. I thought of doing an if ...

I am trying to make a basic plot viewer in C# using OpenTK. To show the title, x and y axis labels I am creating a bitmap of each from a text string and trying to use it as a texture at the specified ...

I'm trying to get an OpenGL texture to render onscreen in 2D. I know it seems really simple, but I'm an OpenGL newbie and this has been giving me some trouble.
No matter what I try, it is showing up ...

What is the limit of memory for the GPU in OpenGL?
I carry a picture in OpenGL ES 2, the image is so large 1600x1600 with a total of 2.5MB, the charge image in OpenGL in a loop of 3,000 runs and cell ...

Good day!
From what I understand from the CUDA programming guide, whether I access using textures or surfaces, reads are routed through the texture cache. However, when I run the Memory experiments ...

In my current setup, I have two displays that are being driven by two GPUs. Using GLUT, I create two windows (one per display) and render each one from the main thread by calling glutSetWindow() in ...

I am currently working with Minecraft Forge using Java Eclipse. Whenever I run the code, I do not receive any error when running the program. The texture files for the armor are in folder stated in ...

Is there a way to determine whether an existing SKTexture uses a @2x or @3x image version?
I could look at the texture's size and compare them but I was wondering if there's a more elegant way to do ...

I am unable to understand what type of texture is needed for samplerExternal.
A sample code of how to achieve this would help. Some blogs use it directly as same as sampler2D with glTexImage2D, while ...

I'm building a web based app that takes a screenshot of a play area and then posts it to a web server to be called up in a image gallery for other to view. Currently, when running in the editor I can ...

I am making a SpriteKit game and I am trying to use a singleton to preload all my textures in the AppDelegate so that I can then use the instance of the class with the textures in my game scene later ...

I made a stone tomahawk in Maya 2015 and imported it into Unity 5 as a .mb. I imported the textures separately and linked them up with the materials in Unity. The problem is that the texture for the ...