A bitmap (raster image) used in a texture mapping process.

learn more… | top users | synonyms (1)

1
vote
1answer
21 views

Modern OpenGL Texture Displaying Incorrectly

I've been working with this code and have simplified it to the most basic form possible, and even then I cannot get a texture to display properly at all. Here is the code: ...
0
votes
3answers
48 views

Problems Animating Texture in OpenGL

I'm trying to animate a texture to scroll a static screen for a television, however I'm having some issues. Just translating within the texture matrix animates all textures in the scene which is ...
1
vote
1answer
24 views

Model texturing not seamless at certain zooms? (C# XNA)

I found a very odd glitch with my game this morning. XNA doesn't render certain textured models properly, while other models are completely unaffected. And it's not even like my models are made ...
0
votes
1answer
52 views

Texture rotation inside a quad

How can I rotate a texture inside a quad without rotating the quad? Here's the code but I'm rotating the whole quad here. glBindTexture(GL_TEXTURE_2D, texName5); glMatrixMode(GL_TEXTURE); ...
0
votes
2answers
44 views

How to use TextureArray's Pre-OpenGL 4.2?

I've been using TextureArray's in my current Project; However, I have come to the problem of OpenGL 4.2 functions not being on the present Mac software when ported over. Due to only version 4.1 of ...
1
vote
2answers
48 views

Proper use of texture units

I'm a beginner using OpenGL v3.3 on C# with SharpGL. I have a simple scene with a Skybox and some OBJ Models. Both the skybox and models have multiple textures. Currently what I do is that I load all ...
1
vote
1answer
29 views

Problem with textures using DirectX file format in Irrlicht

I'm using Irrlicht 1.8.1, and Blender 2.71 to create my animations. I've just create a simple cube, added a default material to it, and i've mapped a texture to it using UV unwrap, all that in ...
0
votes
1answer
34 views

Easy method of obtaining texture coordinates for sprite sheet

In my (OpenGL ES 2.0 Android) game, I use 2 types of Sprite Sheets. In one type all sprites/frames are of equal size and in the other they are all different shapes and sizes. It is the latter one to ...
5
votes
2answers
138 views

(Unity) Is there a way to automatically create a material for each texture and assign the texture to it?

I have imported hundreds of textures in my Unity project, and I'd like to create a material for each of them. This would obviously take a lot of time, so how would I go about doing this automatically? ...
1
vote
0answers
44 views

Is it possible to completely avoid copying image data when uploading textures to the GPU on iOS?

I am not a game developer, but I have been doing iOS software engineering for many years. I have a particular interest in graphics and animation, but the finer details are still a little foreign to ...
0
votes
1answer
30 views

With a Texture Atlas that has 128x128 tiles, how can I use that in Unity3D?

So I've got a working texture atlas that has tiles fitting 128x128. However, I can't quite figure out how to use them. I know it's probably got something to do with ...
1
vote
1answer
60 views

Grayscale color mode texture not rendering in libGDX

I am about to develop a game completely in shades of grey using libGDX and just for testing purposes, i created two textures in photoshop: 2048 x 2048 plain white png image with RGB color mode of ...
0
votes
1answer
33 views

Texture to Painted Vertex Algorithm

I want to generate some game textures into coloured vertex arrays. Is there a known algorithm to transform texture/bitmap data into an optimised vertex array. Much like how the Homeworld skyboxes ...
0
votes
0answers
15 views

Block LOS tool texture triggered with door. Source engine, Hammer editor

I have problem with tool texture Block LOS. https://developer.valvesoftware.com/wiki/Tool_textures I want to use on doors, triggered when door is opened/closed, but I can't find right documentation. ...
2
votes
1answer
26 views

How can I prevent seams when attempting to create a skybox for Unity5?

After following the documentation for how to create a skybox, seams are appearing around all sides of my 6 textures (sorry for faintness of image): There are no active lights in my scene. What am I ...
2
votes
1answer
43 views

Mapping Coplanar Vertices in 3D space on to a 2D Plane

Say I have a plane specified by a normal vector and point on the plane. I want to specify a 2-D co-ordinate system that lies 'across' the plane, and then use that to find the 2-dimensional distance ...
1
vote
2answers
56 views

Is there a difference in the time taken to load one texture instead of many?

Is there a difference in the loading time of 16 256*256 textures versus a single 1024*1024 texture? Specifically for level loading time?
0
votes
0answers
14 views

Problem of textureRegions display after display two screens

I have a texture display problem, knowing that they display correctly in the desktop project and before packer textures. but once I packed textures, they still appear in the first screens((enuScreen ...
0
votes
1answer
88 views

Memory game - texture on cards

I'm new with Unity and I'm working on recreating memory game. I found this sample: http://xtasestudios.com/unity/samples (select "Memory"). I decided for C#. I've created my own card in Blender, ...
0
votes
0answers
17 views

texture2D wont render in webplayer Unity

I have an app that is pulling from a webcam and receiving from one on another computer. It takes the frames and does facial detection on them and draws a rectangle around it. This simple app works ...
0
votes
0answers
27 views

DirectX My texture does work in my pixelshader

I got a bit of a mystery as I have a problem that should not be a problem. I am working on a fog feature which is similar to other things that I have done. Not very hard at all. The only real ...
0
votes
1answer
90 views

Unity3d iOS build - where are the textures?

First time building and running my Unity3D app on my iPhone and it appears that all the textures are missing. Everything is just a solid block of whatever color I made it. When running in Unity I ...
0
votes
0answers
45 views

Why are my OpenGL textures warped?

I am writing a graphical program using OpenGL for rendering, Assimp for mesh loading and SDL for window etc, but also image loading. As can be seen in the image, the white outlines at the left of ...
0
votes
0answers
33 views

Terrain texturing problem in cryengine 3 sdk

When I try to paint textures on my terrain, I'm getting the underlying black/white grid thingy. Moreover, I keep losing the color on my terrain every time I load the level. any ideas what I'm doing ...
0
votes
0answers
26 views

iOS: Texture loading when app is running in background

I have a loading screen to load textures between game screens. The loading process runs on a thread created by GCD with an OpenGL ES context. Everything works fine. Now my game is supporting ...
2
votes
1answer
127 views

Why are Texture2d arrays so expensive? [closed]

I'm building a 2d engine in C# and I have several static sprites that have multiple color variations. Ok, easy enough, I create the Texture2D images at start time, then stuff them into an array, and ...
0
votes
2answers
86 views

How to add a logo to a captured image?

I have a plane which contain a WebCamTexture and a button to capture the image script to capture the image void CaptureAndSave () { Debug.Log (Camera_panel_script.webCameraTexture); ...
0
votes
0answers
70 views

DirectX Compute shader (HLSL) makes texture black

Hello this is my first question on this forum :) When using compute shader in directx to change the color to blue the texture only gets black. I really don't understand what the problem could be and I ...
0
votes
1answer
58 views

Get fragment from mouse position

I have a painting app for texture artists that I am working on. I am able to paint to a flat canvas that updates the texture of a 3d object in an object viewer. Now I want to be able to paint directly ...
0
votes
0answers
68 views

Reading Color data from UTexture2D in UE4

Here's my code: // get RenderTarget2D static ConstructorHelpers::FObjectFinder<UTextureRenderTarget2D> TargetObj(TEXT("/Game/Textures/RenderTexture")); // generate a UTexture2D CameraTexture = ...
0
votes
1answer
73 views

Are lightmaps also considered textures?

I want my game to support phones with max texture size of 1024 so my texture atlases are 1024. My question is: are lightmaps also considered textures and their max size must be 1024? Or they can have ...
1
vote
1answer
101 views

How can I scale sprites and maintain visual quality?

I currently have an isometric grid. This grid contains tiles. Some of these tiles have 'tree' sprites sitting upon them. If I have my tree sprite loaded from a texture with a fixed resolution, when I ...
0
votes
1answer
26 views

How to render specific FBO Texture attachment (assume attachment1) with 2 attached

Create FBO & its textures like normal. // FBO & Texture glGenFramebuffers(1, &mFbo); glBindFramebuffer(GL_FRAMEBUFFER, mFbo); glGenTextures(2, mTexture); for(int i=0; i<2; i++) { ...
0
votes
0answers
32 views

libGDX TextureRegion drawing weird when scaled

Having a weird issue. I have a Texture with four frames of a sprite Animation. Each frame is loaded as a TextureRegion. Most of the time the Animation play without any issues, but occasionally it ...
2
votes
1answer
104 views

What is the performance impact of rendering a larger quad?

Lets say I have two planes and I textured them in blender with a 512*512 tiled texture. One plane is bigger than the other (for example, one plane tiles the texture 60 times but another only six ...
0
votes
1answer
25 views

How to get started with making textures [closed]

I have Photoshop CS6 (I haven't installed it yet), and I was wondering if there was a good book or tutorial on how to get started on making my own video game textures. SIDENOTE: I saw a question on ...
1
vote
0answers
29 views

SpriteBatch passing textures to GPU

How exactly (or, how often) are textures passed to the GPU shaders in MonoGame/XNA? I am asking because I was profiling a MonoGame/XNA application and noticed that the memory controller load (using ...
2
votes
1answer
52 views

Texture filtering: Is the minification or the magnification filter used when rendering at the exact texture size?

Suppose you have a texture where the minification filter is linear, but the magnification filter is nearest-neighbor (point filtering). If the texture is rendered at exactly 1:1 pixels, but at a ...
0
votes
3answers
165 views

Is there a way to scale a texture via GPU rather than by CPU?

For my game that I'm developing I want to have my cards dynamically drawn so if there is any changes done to them it could be drawn on the card itself. What I have currently is that the cards are ...
0
votes
0answers
42 views

manipulate textures in real time using GPU

I'm looking for some way (tutorial, library or build in option) to draw texture on JMonkey in real time. So I have 2 images one a normal texture that is fairly big(4000x4000) and another much smaller ...
0
votes
0answers
36 views

Lwjgl Textures Overriding true type font

I am making a game in java but I recently came across a problem when I bound my textures, my true type fonts would start copying the texture and i would just see a wall of color where my words had ...
0
votes
1answer
44 views

Jmonkey loading texture from fails

I have the following basic code: public void simpleInitApp() { Box b = new Box(1, 1, 1); Geometry geom = new Geometry("Box", b); Texture cube1Tex = assetManager.loadTexture( ...
1
vote
1answer
66 views

How to pass content through the project's structure efficiently?

so following situation. I have a project which is structured something like this. Game1 -> GameManager -> Module (multiple instances) During runtime units are being spawned in each instance of the ...
4
votes
1answer
350 views

How can I update a sprite sheet without affecting the sprites already being used?

Every time I overwrite my sprite sheet with additional or updated sprites, I have to reattach the textures to all of my Animations and Sprite Renderers. How can I update a sprite sheet without ...
2
votes
1answer
301 views

How to save file in assets so it can be properly loaded in Android Studio?

I am following a guide on creating a replica of Flappy Bird. - http://www.kilobolt.com/day-6-adding-graphics---welcome-to-the-necropolis.html The step I am having trouble is loading the texture from ...
0
votes
0answers
75 views

UV Mapping Best Practice for Architectural 3D Assets?

What would be a commonly preferred method of UV mapping for architectural 3D meshes that are being used as game assets. What I'm talking about are segments like walls, floors, ceiling, corners, etc. ...
0
votes
1answer
98 views

Multi texture obj files? [closed]

Im downloading some free 3d models off the internet to test things in my game. When I download the package, it gives me a bunch of texture files and the obj model. What I dont understand is what I do ...
0
votes
1answer
67 views

Textures not rendering on part of Cube [closed]

Hello all I have been trying learning opengl and have rendered a colorful cube and decided to texture it, now when I run the program the textures render on all of the faces except for the back face ...
0
votes
0answers
59 views

'Bad' triangles when doing affine texture mapping

I am really clueless about what i must do. I wrote a function to do affine texture mapping, but i get in most situations 'bad' triangles. I really didn't want to ask this question as it probably is ...
1
vote
0answers
74 views

DirectX 11 GenerateMips only works with premultiplied alpha?

The GenerateMips method in the ID3D11DeviceContext allows generation of mipmaps at runtime, which is fine for fully opaque textures. However, when this method is used with transparent textures that do ...