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

learn more… | top users | synonyms (1)

1
vote
1answer
72 views

Normal Mapping space confusion

I've been reading today about normal mapping. Up to now, the only normal mapping I encountered was with maps already in world space so I just extracted the info from the texture and transformed them ...
0
votes
2answers
174 views

Texturing a VBO cube (JOGL)

I've been having trouble texturing a cube using vertex buffer objects. EDIT: I updated/replaced my shaders to fit the right version. The program compiles and links, but it shuts down java in ...
2
votes
2answers
110 views

Problem draw SkyBox behind my sun - XNA

I try to create a small and simple 3D games on XNA. I recently started to add a skyBox after added a sun in my game with the sample by Microsoft here ...
0
votes
0answers
48 views

How do I dynamically load a smaller texture in Unity based on the screen size?

I have a Unity application on windows phone which is having problems running on small devices because the HD textures are so huge. What is the best way to test and dynamically use a smaller version on ...
0
votes
1answer
35 views

HLSL tile shader

How would I make this HLSL code tile my texture: float4x4 World; float4x4 View; float4x4 Projection; float4x4 WorldInverseTranspose; float4 AmbientColor = float4(1, 1, 1, 1); float AmbientIntensity ...
0
votes
0answers
17 views

Where can I find free graphic 2D resources for vehicles (car, truck, bus, etc) from top view for a top down racing game? [duplicate]

Where can I find free graphic resources for vehicles (car, truck, bus, etc) from top view for a top down racing game? I mean something like:
0
votes
0answers
36 views

Deleteing Textures in Android OpenGL ES 2.0

I'm confused about how to delete a previously applied texture. So, I've applied my texture and am happily rendering it. I decide I want to delete the texture, so this is what I've tried...... void ...
0
votes
1answer
109 views

Speed up loading of png files (used for textures) in Android OpenGL Game

My game has a few texture atlases that need to be loaded (in my XHDPI folder they total 3.49MB) and on a top-end device they don't take that long to load, however on a low-end device they seem to take ...
0
votes
2answers
54 views

Using Smaller Textures in Unity on Older/Smaller devices

In Unity, when you have MipMapping selected, will this cause the full size texture to always be brought into memory? I have a game which runs on high end mobile devices with ultra-high resolution ...
0
votes
1answer
50 views

Which gaming engine can be used for pixel manipulation? [closed]

Here is the gist of where I am going with this. I work for a printer company and basically all of our input files(or output files for virtual printers) are bitmap files. We currently have a tool built ...
1
vote
0answers
56 views

XNA - Strange Texture Rendering Issue Using XNA BasicEffect [closed]

I have been reading and working through Riemers 3D XNA tutorials to expand my knowledge of XNA from 2D into 3D. Unfortunately I am having rendering issues that I am unable to solve and I need a point ...
-1
votes
1answer
64 views

Libgdx change color of Texture at runtime [closed]

i allready asked this on Stackoverflow, but i think this question may belong here. In a Libgdx game i have some Animations for my Player. All the Frames for this Animation are inside a TextureAtlas. ...
1
vote
2answers
202 views

Converting DDS textures to TGA

I have a model which has textures in DDS format, but my game takes textures in TGA format. How can I convert the textures from DDS to TGA?
0
votes
1answer
62 views

XNA 4: RenderTarget2D textures getting transparent on fullscreen

I'm generating a Texture2D object using RenderTarget2D as in the following code public static Texture2D GetTextTexture(string text, Vector2 position, SpriteFont font, Color foreColor, Color ...
1
vote
0answers
42 views

libgdx - Image artifacts when downscaling image

Why does this border appear around the edges when I downscale a bitmap and how do I avoid it? I tried every filter I know, the results go from bad to worse. Here's the original bitmap:
0
votes
0answers
62 views

OpenGL Drawing textured model (OBJ) black texture

I'm using OpenGL, Glew, GLFW and Glut to create a simple game. I've been following some tutorials and I have now a good model importer with textures (from ogldev.atspace.co.uk) but I'm having an ...
1
vote
1answer
54 views

Textures selectively not applying in Unity

On certain imported objects (fbx) in Unity, upon applying a material, only the base colour of the material is applied, with none of the tiled texture showing. This isn't universal; on a test model ...
5
votes
2answers
262 views

How can I find the right UV coordinates for interpolating a bezier curve?

I'll let this picture do the talking. I'm trying to create a mesh from a bezier curve and then add a texture to it. The problem here is that the interpolation points along the curve do not increase ...
0
votes
1answer
52 views

Applying textures to 3D models

I want to apply textures to a 3D Model in XNA 4. Whatever I saw on the internet was to apply the textures in the modeling tool and then load the model (*.fbx) into XNA. Is it possible to load the ...
1
vote
0answers
78 views

Sphere Texture Mapping shows visible seams

As you can see from the above picture there is a visible seam in the texture mapping. The underlying mesh is a geosphere based on octahedron subdivisions. On that particular latitude, vertices have ...
-1
votes
1answer
77 views

How do I put different textures on different walls? LWJGL

So far I have it so you are running around in a box, but all of the walls are the same texture! I've loaded up other textures for the walls (I want the walls a different texture than the floor) but it ...
13
votes
4answers
2k views

Avoid double compression of resources

I am using .pngs for my textures and am using a virtual file system in a .zip file for my game project. This means my textures are compressed and decompressed twice. What are the solutions to this ...
2
votes
1answer
274 views

OpenGL 4D textures with bilinear interpolation

I want to use and interpolated 4D texture in OpenGL, i.e. a texture that is accessed with a texture coordinate vector (s, t, p, q) and interpolated linearly in every texture coordinate. The extension ...
1
vote
1answer
285 views

Displaying streaming video on dynamic texture

We are working in Unity 3D on pro licence and we are faced with the task to display streaming video as a dynamic texture in out Unity3D web project. We have a standard IP-camera , which is capable of ...
0
votes
1answer
63 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 ...
1
vote
1answer
73 views

GLSL: Noise via texture

I am trying to access a texture in a fragment shader to overlay this texture over a certain area. varying vec4 v_color; varying vec2 v_texCoord0; uniform sampler2D u_sampler2D; uniform vec4 ...
0
votes
2answers
42 views

Multiple colored textures vs Color Overlay

Let's say we're using DirectX 9/10/11. In our game we have a character wearing armor. The armor has 50 different color variations. So, if armor is red, the first method would load the red texture ...
0
votes
0answers
20 views

XNA alpha channel mask

I'm trying to highlight a portion of the screen, such that the entire screen is covered with a semi-transparent black mask but part of that mask is "cut out", kind of like it's being lit up while ...
0
votes
1answer
83 views

'Dynamic' textures?

I am creating a 3D game in Unity. The main game mechanic involves a large open world area. In various places throughout this world are billboards and other devices that would show 'adverts' etc in the ...
0
votes
1answer
114 views

Pixel Buffer Object (PBO) does not work correctly

I've written a very simple OpenGL application. Its goal is to load a texture and draw it on a plane using a PBO. If I use the function 'glTexSubImage2D' the plane is not textured and the function ...
1
vote
2answers
70 views

Texture2DArray in Directx11 with different formats

I'm trying to create a texture2DArray from multiple of images, each of which has different formats, and I got the following error from the DirectX11 debug layer. D3D11 ERROR: ...
0
votes
0answers
42 views

XNA 4.0 displaying .fbx texture problem

Here is my image. I have Steve from MineCraft I exported it to .FBX format. After Googling for a while, I changed sampling mode to PointClamp and turned off anti-aliasing, but somehow the texture ...
2
votes
1answer
70 views

Specular map: What about the specular reflection's highlight' size?

I think I know what a specular map is and what it's used for (here is an example). http://www.rastertek.com/dx10tut21.html One of the models of specularity that are highly popular is Phong. In Phong ...
-1
votes
1answer
53 views

How to load resources in LWJGL [duplicate]

I've been searching for days. When I export and create my fat jar it loads and disappears. It can't find my images. This is what it all looks like. I used something like this to load them: File a; ...
0
votes
1answer
79 views

Do I need to create an HLSL in XNA to display textures without content pipeline

I currently have a jpeg texture stored as a Color array in XNA as RGBA. I also have the vertices of a cube in OBJ format mapped to VertexPositionColor vertex buffer using the VertexBuffer and Indices ...
0
votes
1answer
69 views

(LWJGL) Exporting Textures with JarSplice [duplicate]

I have another game that uses rectangles instead of textures and works just fine. when I run this I get this error: Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. ...
0
votes
1answer
30 views

DirectX9 texture flashing or disappearing

I am learning DirectX 9 and I have these test models in my scene and this weird texture flashing happens. If you look at the bottom of the picture you will see a blue area, that is supposed to be ...
1
vote
2answers
142 views

Hide part of the GUITexture in Unity

I have a Health Bar in my Unity game and it's implemented as a GUITexture with gradient image from red to green. Now I can reduce it's width from max width to 0, but is still scaled gradient. ...
1
vote
2answers
172 views

Offline texture mipmap generation

I want to generate mipmaps for 2D textures as an offline step. My priority is for image quality, execution time is not a concern. The images will, naturally, always be halved and will always be ...
1
vote
1answer
63 views

How can I scale a subset of my game view during rendering?

I am developing a 2d game which has a lateral panel and a main panel with the scenario. I want to scale the main scenario to apply a zoom (only the main panel portion of the screen). I think if I use ...
2
votes
1answer
193 views

How to display Textures, Buttons, Created with Unity's GUI (OnGUI()) to get displayed behind other objects in Scene

I am making a game in which I am using OnGUI() to make Texture. I want this texture to display behind my Regular 3D objects like cube, spheres in the scene. I have tried and searched but I am unable ...
1
vote
1answer
106 views

Mapping a 3D texture to a standard hollow-hull 3D model

I have 3D models which are typical hollow hulls. If such a model also had a 3D volumetric/voxel texture map then given a point P inside such a model, I'd like to be able to find its uvw coordinates ...
0
votes
0answers
58 views

MonoGame and pragmatically loaded textures OnActivated [WP8]

I have a custom content format for my spriter animations. Within this format, I have a list of Texture2DContexts that are loaded splendidly upon starting the app with Content.Load(filename); However, ...
0
votes
2answers
134 views

2D Rendering in DX11. Texture Storage and Reference

I'm trying to think of the best way to manage textures in my 2D game. First, I am using DX11, so right now my "textures" are just pointers to a ID3D11ShaderResourceView created by ...
0
votes
1answer
121 views

A problem with texture atlasing in Unity

I have the texture below and I need to get rectangular parts from it. I could finally combine meshes of different quads to improve performance, but I with quads of different tilings, this means ...
1
vote
1answer
81 views

Is this Possible to force gameobjects (coliders etc) to get stretched based on the aspect ratio of the screen?

Well with unity3D, I am in big trouble whenever I use sprites. As for textures I compensate for a evener look by Stretching it (Screen.width & Screen.height- that's fine for low end 2D games). Now ...
1
vote
1answer
277 views

How do I combine images into a single entity in libgdx?

I've googled this but can't seem to find anything on "concatenating" two images, especially with libgdx. Any ideas?
-2
votes
1answer
118 views

Why is my Snake' tail rendering the wrong sprite? [closed]

I am making a snake game in Unity. The game is simple, using Texture2D to display the head, tail and body parts. I am stuck with this problem: I stored 4 textures (each one for one of the four ...
0
votes
2answers
232 views

OpenGL - How can I make the edges of this textured circle smoother?

I'm building a game and I've applied a certain texture (RAW file) to a circle (GL_POLYGON) in OpenGL. It loads correctly, with the right size and all, but the edges seem a bit jagged and I would ...
3
votes
1answer
85 views

How do I convert a horizontal, panoramic skymap texture into a “dome” version of itself?

How do I convert the following skymap image: into a "dome" version like the one below? I'm looking towards making use of Adobe Photoshop for the task at hand. However, I'm at a loss on what ...