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

learn more… | top users | synonyms (1)

1
vote
0answers
18 views

How Would You Animate a 3d Characters Face (With Textures)

So I'd like to do a low poly style of modeling, and one of the corners I'd like to cut is on head geometry. Specifically, making the details of the face a texture (like a Mii or a character in Animal ...
0
votes
2answers
65 views

Opentk Textured Full Screen Quad

I want to display a texture on a full screen quad. What I get is a completely green quad and after a week of debugging I cannot understand why. I am currently using OpenTK 1.1.2225 and Magick.NET-Q16-...
2
votes
1answer
28 views

MonoGame renders texture in an almost compressed looking way

I was working on a game in MonoGame, which I have been doing for quite some time now. As I was implementing UI, I was noticing some sort of weird scanlines. Investigating further, to my surprise my ...
0
votes
0answers
28 views

Faster ways of rendering to a texture what is viewed by a camera in a given specific moment (Unity)

What I want to achieve is to render to a texture what is viewed by a camera in a given specific time or frame, and then stop rendering to the texture, delete the camera and stay with that texture for ...
0
votes
2answers
103 views

XNA/MonoGame creating a player

After some fine-tuning on my game's GUI I am finally ready to begin with the gameplay. But that's a tall order. My game will be something like a 2D platformer with RPG elements like collecting armor, ...
1
vote
2answers
77 views

How to load textures at other times than startup in XNA using vb.net?

I've encountered a problem with my game project lately. When I load more than a certain number of textures (around 1000) at startup I recieve an error regarding memory, because I have to use 32-bit in ...
1
vote
0answers
57 views

World texturing techniques in FPS game

Texturing for small objects (pickups and enimies) can easily be done UV-unwrapping the model, and use a texture of reasonable size to make the model look good. But how can texturing be done for the ...
0
votes
1answer
39 views

Why when releasing a DirectX Texture it fail

I have an instance where a class creates a DX9 texture via UINT usage = D3DUSAGE_RENDERTARGET; HRESULT hr = D3DXCreateTexture (m_D3DDevice, 200, ...
1
vote
1answer
722 views

Unity Texture2D raw data TextureFormat problem

I am trying to load raw image data into a Texture2D in Unity using LoadRawTextureData but I can't get it to work correctly. First I receive an array of bytes from an unmanaged function that captures ...
0
votes
1answer
46 views

Trouble applying a texture to a cube

Currently working on applying a texture to a cube and I am at a road block. I am using UV coordinates to apply the texture. Currently using 24 uv coordinates with indices. I am using glDrawElement and ...
0
votes
1answer
40 views

Interact with texture / flat surface (Unity)

I don't know exactly how to put this into words, so googling did nothing really for me. Imagine a bowling game. On the oldern bowling lanes there was only a scheme of the pins above the lane, ...
0
votes
2answers
64 views

reuse texture between quad objects

This question is specific to unity: I want to spawn multiple blocks, each representing a letter. There will be more than one copy of an alphabet. I have a big texture which contains all the letters ...
1
vote
0answers
35 views

OpenGL texture not loading onto the model

I am still learning and I'd like to apologize if I don't explain something clear enough or anything like that. please forgive me :) So I am experimenting with 3D graphics for my university assignment....
1
vote
0answers
57 views

Slick2D fails to load small textures

I'm trying to load a small 32x32 png texture using Slick2D, however it doesn't seem to render correctly. What's odd is that larger textures do load correctly. The 32x32 texture I'm trying to load: ...
1
vote
1answer
279 views

Unity 5 - Textures look strange in Deferred Rendering

I've created an exterior terrain scene in Unity 5 which features lots of trees and grass but some textures look awful and I'm wondering why. Please see the attached image: This texture problem is ...
-1
votes
1answer
181 views

Create YUV texture for GL_TEXTURE_EXTERNAL_OES format

0 down vote favorite I need to create a yuv texture for GL_TEXTURE_EXTERNAL_OES format. source : https://github.com/crossle/MediaPlayerSurface/blob/master/src/me/crossle/demo/surfacetexture/...
1
vote
0answers
71 views

Texturing Cubes

How can I texture a cube that is able to rotate in x,y and z direction in pure Java? Here is what i have tried: package main; import java.awt.Color; import java.awt.Graphics; import java.awt....
0
votes
1answer
51 views

Luminance 'y' value of surface texture

For my opengl video player app, I am using surface texture bound to GL_TEXTURE_EXTERNAL_OES source : https://github.com/crossle/MediaPlayerSurface/blob/master/src/me/crossle/demo/surfacetexture/...
0
votes
1answer
106 views

Unity LineRenderer custom reapeted Texture with margin

I have a LineRenderer, which has 1 dot as texture, which is repeated over the whole line. Now I want to know, if there is some way to give this dots a margin, so that I can make the gap between them ...
0
votes
1answer
46 views

Unable to load two enemies with same pic in sdl2

I have loaded two enemies(with the same pic) into my game. However, when I draw them onto the screen it only draws and animates one enemy, instead of two. I can't seem to figure this out. Here is my ...
0
votes
0answers
55 views

How to properly use a 3D texture in OpenGL 4?

I working on a student project which consists to make clouds volumetric rendering and implement the feature in an existing engine based on OpenGL 4 and written in C++. To do so, I have set a compute ...
0
votes
0answers
36 views

Tilemap not rendering properly

I'm making a single-screen scrolling platformer (OpenGL/SDL) and I've made a tilemap out of a 2D array, pre-sized with variables of the LEVEL_HEIGHT and LEVEL_WIDTH. Each element in this 2D array ...
0
votes
0answers
6 views

Is there a way to make spritesheet from file with many sprites? [duplicate]

If I have a spritesheet that already has all the sprites laid out, is there a way to automatically break up those sprites and make an atlas out of them? I tried loading the image into TexturePacker ...
4
votes
2answers
2k views

How to load a png file without alpha premultiplying in ios?

I am making a game in which I use the alpha value, in some cases for transparency, in others for occlusion, and for HDR in others. I'm loading the images like this (this is MonoTouch, but objective-c ...
2
votes
2answers
1k 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 powers-...
0
votes
0answers
26 views

How to integrate a dresser with movable drawer in UE4?

I modeled a dresser in Maya. Right now it is divided in 19 objects. The drawer faces are copy and have their own unique place in the UVs and the knobs and back drawers are instances and are stacked on ...
0
votes
0answers
29 views

Should all textures be power of 2 in SDL2? [duplicate]

I come from Gamemaker background, and I know that anything you give Gamemaker is put onto a texture page that is power of 2 size, but I am now making an SDL game engine and I am wondering, should all ...
0
votes
0answers
24 views

LWJGL use only a part of a (blend-Map)

I have the following problem in my game: I created my terrain by an heightmap and a blendMap (for the color). The problem is, that now, when i made the terrain really big, i have a big performance ...
0
votes
1answer
33 views

Any reason not to combine an AO Map and Cavity Map into one texture?

If an Ambient Occlusion Map is for mapping shadows based on closeness of neighboring geometry, and a Cavity Map is for mapping smaller shadows based on angle or distance, then is there any reason not ...
1
vote
1answer
70 views

Libgdx, TiledMap, and tearing

My TiledMap tears when the window is specific sizes, resized, or the camera moves. The tileset is padded by 2px and have tried as high as 10px. Each tile is 70x70. Here are the pack.json ...
1
vote
0answers
680 views

How to fix artifacts when using equirectangular 360 panorama photo on sphere

I have a equirectangular 360 panorama photo. I tried to use it as a texture for a default Unity Sphere. The image had artifacts/visible seams, especially near the "poles" of the sphere (north pole and ...
0
votes
0answers
29 views

Getting texture data manually with proper alignment

I was building a simple D3D12 app which load and display an image on screen. As you are aware, D3D12 has no calls like CreateTexture2D which we have in D3D11 so that this process has to be done in ...
0
votes
0answers
132 views

Unity 5.3 Asynchronous Texture Upload in C#

I want to load textures asynchronous in C#. I heard it that it is possible to do it in Unity 5.3. However documentation doesn't mention how to do it in C#. Does anyone have an idea how it works? ...
1
vote
1answer
49 views

Blender to Unity, Specular Hardness/Smoothness Texture

In Unity there's a parameter for specularity (both modes) - Smoothness... I don't know what it corresponds to in Blender. You can bake two specularity maps: color and intensity, and at first I naively ...
13
votes
3answers
2k views

How can I create my own sky maps? [closed]

What are the methods/tools for generating realistic skies with clouds and atmospheric shading? FOSS alternatives and spherical projections get extra points.
1
vote
1answer
108 views

Textures created with Photoshop show up with a white border

All of a sudden, I started having this problem. I've used libGDX + Photoshop before and never had this problem. One of my textures is showing up with a white border/glow around. The texture is the ...
0
votes
1answer
47 views

Draw a Texture to fit a rectangle

I would like to draw a texture in a rectangle that is smaller than the texture, normaly the texture will be scaled to fill the rectangle, which results in a squished image. I want to draw it to fit. ...
3
votes
1answer
62 views

Maya/Unity - See through models

I've recently modeled my character inside Maya; here's an image. The first thing I noticed whilst creating my model is that the models could be seen through source 1, after doing a little research ...
2
votes
2answers
116 views

How to display multiple textures with OpenGL without a texture atlas

I tried to dig into OpenGL a bit to use in 2D games (mainly because of shaders). There are multiple tutorials out there showcasing how to display and blend textures, and that's fine. But i haven't ...
0
votes
0answers
66 views

Stretching or distortion of texture on 1 face

Trying to master basic texturing using Substance Painter in a MODO to Substance Painter to Unity workflow.In the attached image you can see some pixel stretching along 1 face.(click to zoom in) The ...
0
votes
0answers
117 views

Box2d - Texture lagging and flickering

I'm having issues with texture rendering in my game. I've done a lot of research and repeated the same steps of tutorials over the internet to render and update Sprite positions properly. Somehow, ...
1
vote
0answers
29 views

How to set a specific face's texture color in Unity?

First off, let me describe my situation... So I'm building a voxel engine based on this tutorial. I'm using my own texture tilesheet. Most of the tiles have their own color except grass, leaves, and a ...
1
vote
0answers
71 views

Texture gets blurry when moving Box2D body

I'm having this issue that is very annoying. Somehow the texture of the player body is getting blurry and leaving a slight trail with its colors when moving it. The interesting fact is, this only ...
0
votes
1answer
78 views

OpenGL texture 2d array won't render with depth > 1

Below code uploads my texture memory that's described in the passed parameters. When 'vPixelData' only holds 1 item/texture it is rendered properly, but once there's 2 or more nothing shows up. ...
0
votes
2answers
61 views

Using sourceRect or cropping out a Texture 2D to draw? MonoGame/XNA

I was wondering what is the best way to draw textures (for performance). Using the sourceRectange in the spriteBatch.Draw() call and just draw the whole spriteSheet, or crop out every texture on the ...
0
votes
0answers
53 views

How to make a texture not stretch?

I have made two textures in Photoshop. I applied one of the textures to the sides (one to each side, in the Unity editor) and the other one to the top and bottom sides. However when I extend the ...
0
votes
1answer
575 views

When should I set a texture as a shader resource in order to read it?

I'm writing a Direct3D 11 HLSL shader with SharpDX. What I want to do is write the depth to a texture in one pass and read it in the next one. After declaring the texture, do I have to set the depth ...
3
votes
1answer
61 views

How do I control texture appearance based on game play events?

In an FPS I am developing, I am procedurally altering the appearance of textures based on game play events, and would like to know if the way I have implemented this was a good idea. Right now, on ...
0
votes
0answers
45 views

Wrap Mode: Scale and Position Anywere

I am trying to write a shader in Unity that allows me to place my texture anywhere on the UV. Picture this for a second, if you add a texture on a square plane, the texture gets either stretched to ...
0
votes
1answer
56 views

C++ OpenGL More textured objects equals less FPS

So I'm creating a game engine with many features, last time I focused on textures. When I finished implementing some new code (Made by myself) I created new Entity with texture, and it was working ...