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

learn more… | top users | synonyms (1)

1
vote
0answers
21 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
29 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 ...
-2
votes
0answers
31 views

DirectX 11 Texture artifacts [on hold]

Any idea what could cause an issue like this? void Texture::loadTexture(const std::string& filename) { //Convert filename into a WString for the texture loader std::wstring ...
0
votes
0answers
6 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
22 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
39 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
54 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
67 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
13 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
9 views

Loading art assets from SolidWorks and NX cad tools? [on hold]

I've been handed a large db of models designed with SolidWorks and NX cad tools. Now I need to load them and render them or convert them to another format. Is there any way to accomplish this without ...
0
votes
0answers
23 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
61 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
38 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
27 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
20 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
122 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
79 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
59 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
53 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
47 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
58 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
85 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
25 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
25 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
97 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
22 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
26 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
43 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
147 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
38 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
29 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
34 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
65 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
347 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
185 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
69 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
85 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
60 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
56 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
62 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 ...
0
votes
3answers
127 views

How to render grid properly, especially over distance?

I'm drawing a grid, pretty much like one can see in the Unity editor itself or any 3D-editor, many 3D-related applications and some games. But it doesn't look pretty in my case. I put a few random ...
0
votes
0answers
100 views

Unity3D Resize texture without corruption

I am currently working on a solution to make my game look very pixelated, like Doom or Quake. But there is a big problem. B.T.W I'm not using Unity Pro I render my camera to a 1920x1080 texture, ...
1
vote
1answer
76 views

Shader - Realtime texture masking

The first thing that comes in mind is masking using RGBA values. With this you can obtain this kind of textures and this kind of results. But with this, you can only store up to 4 masks inside a ...
0
votes
2answers
209 views

Resizing a Framebuffer Object (ie: its attachments) on Screen Resize

I have been experimenting with some post-processing effects and I have been using FBOs to store stuff. The problem is, I attempt to resize them when I change resolution. I get no errors, however the ...
2
votes
0answers
127 views

Unity3D sprite texture problem

I'm trying to extract file icons from the files inside a folder (eg: Program Files), and have them set as my Sprite's texture. I extracted the file icons, converted them to Bitmaps and then to byte ...
0
votes
1answer
72 views

Render model with meshes with materials and/or textures

I'm making a model class that is using Assimp in the background. I want my models' meshes to be able to have a material and an optional texture on top of that. Right now I'm doing it like this: for ...
0
votes
2answers
119 views

Why not just create very high resolution graphics and use them on all screens?

I'm creating a game with pretty basic graphics (numbers, blocks, words, and a few nice design elements for the logo and such). My question is: can I create everything in a very high resolution- say ...
1
vote
1answer
78 views

What's wrong with my method of getting intermediate rendering to my postprocessing shader?

I'm working on a project in OpenGL. Earlier this week, I successfully implemented Deferred Shading, but I'm not sure how to pass the information from the Deferred Shader to the Post Processing Shader. ...
0
votes
0answers
98 views

WebGL - Luminance textures from JPG images

Is there any way to create a WebGL texture with Luminance format from JPG image? JPG images have 3 color channels and luminance texture has only one channel. The problem is that gl.texImage2D can't ...