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

learn more… | top users | synonyms (1)

6
votes
0answers
305 views

Is there a way to stop caching textures in runtime?

Procedural textures with substance seem to update very quickly if you turn off caching, modify one exposed variable at a time, modify it frequently, and even then only after you've attempted to modify ...
2
votes
0answers
90 views

DX 11 Specular Highlights in Deferred Renderer

I am currently implementing a deferred renderer in DX11.1. Right now I am having a problem that I can't seem to crack with specular highlights when I have multiple light sources. I keep a vector of ...
2
votes
0answers
115 views

1:1 mapping of texels to pixels with DX11 and multisampling and linear interpolation

Is it possible to get a 1:1 mapping of texels to pixels on a multisampled target in DX 11 with interpolation? It seems to me that the texture coordinate used in the shader is always one of the ...
2
votes
0answers
87 views

OpenGL ES Single Bitplane Texture (or something close)

I'm looking to use a texture to store single bits (or a low number of bits, two or three). This in of itself isn't hard if you're using nearest neighbor sampling with some bit plane unpacking. The ...
2
votes
0answers
322 views

glFramebufferTexture2D gives corruption with cube map textures

I am using glFramebufferTexture2D with cube map textures but it gives corruption in texture. draw_cube() function works perfectly when i draw that on default framebuffer. GLenum ...
2
votes
0answers
313 views

Cubic to equirectangular projection algorithm

I have a cube map texture which defines a surrounding, however I need to pass it to a program which only works with latitude/longitude maps. I am really at lost here on how to do the translation. Any ...
2
votes
0answers
1k views

Interactively edit UV mapped, textured mesh in Cinema 4D without distorting texture?

I'm fairly new to Cinema and I'm building a rigged flat (2d) character out of illustrated pieces. I want the meshes to have an efficient number of polys but sufficient resolution where they'll bend ...
1
vote
0answers
65 views

How can I texture a large terrain mesh in OpenGL?

I want to apply a texture to a large terrain mesh in my game. I think that it is just not acceptable to have a gigantic UV map spanning over 4096 x 4096 pixels. What's a better way to apply a texture ...
1
vote
0answers
29 views

How to produce a texture to represent a vector field

I would like to be able to produce a texture that essentially represents a 2D vector field (eg red represents vector {1, 0}. What I would like is to draw a path and the vector at the point on the ...
1
vote
0answers
28 views

LibgGDX drawing two seperate Textures in FrameBuffer

So I am trying to combine multiple TextureRegions in to one by using a FrameBuffer. This works extremely well when the TextureRegions originate from the same Texture object/file but as soon as I try ...
1
vote
0answers
117 views

Is it reasonable to use a 2D texture as a lookup table in GLSL

I need a lookup table in a shader. The input values would be color values and the output other color values. Something like: uniform float lut[256]; color = vec3(lut[int(color.r*255.)], ...
1
vote
0answers
44 views

HLSL: An array of textures and sampler states

The shader must switch between multiple textures depending on the Alpha value of the original texture for each pixel. Now this would word fine if I didn't have to worry about SamplerStates. I have ...
1
vote
0answers
43 views

XNA HLSL UV Mapping

I was testing my hlsl lighting shader, I've copied it from a tutorial and it works perfectly, but all the meshes in the model needs to have texture coordinate, I guess this is because this part: ...
1
vote
0answers
78 views

How to change texture from pvr.ccz in Cocos2d?

I'm using .pvr.ccz file that texturePacker application created for me , I created a Sprite that it's image choosed from this file(.pvr.ccz) like below: CCSprite *mySprite = ...
1
vote
0answers
55 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:
1
vote
0answers
92 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
vote
0answers
61 views

Texture visualization problem on camera movement (xna)

I'm trying to move a camera over a model that is used as the floor of the game. When I move the camera, the texture of the model is not showing correctly (video of the problem: ...
1
vote
0answers
219 views

LibGDX render sprites in tiled-map format ( convert texture to sprite )

I am creating a game in which till now I have used textures to create A 2D tiled game. I have created a matrix which converts the touch co-ordinates into a array index number and according to that ...
1
vote
0answers
88 views

Texture not visible on particles

This is the first time I am working with particles (GL_POINTS) I am using kinematic equations and controlling their movement in vertex shader. I am following an example given in OpenGL 4.0 Cookbook ...
1
vote
0answers
138 views

Drawing cube map and texture array on NVidia cards doesn't work

I have small problem with shadow maps preview. After binding shadow framebuffer I bind proper texture to store depth in it and then render the whole scene. When I read that values in shader to ...
1
vote
0answers
95 views

Wrong UV mapping when using small textures and positions

I am using a really small texture (64x64) and when I use it as a UV map on my mesh, there are some incomplete lines from the color of the other side of the UV map rendered as well (in this case, ...
1
vote
0answers
176 views

Connecting smoothly N textures on terrain

I started to create my own terrain in a quite common way, just like this: http://www.rastertek.com/tertut18.html . It is infinite and automatically generated (by using coherent noise). The areas are ...
1
vote
0answers
240 views

Texture Region drawing issue with LibGDX

I am currently moving my old slick2d project to libgdx. I have created a custom AnimationExt class that extends Animation to which I added a draw method. The Animation's frames are actually ...
1
vote
0answers
79 views

Organize different layers of repeating texture

I'm using Blender for creating assets for a 3D video game (FPS). Particularly i have to create a long wooden fence and i'd like to use one 700*700 texture for the entire fence so different part of ...
1
vote
0answers
212 views

Getting UV maps from UDK?

I have created a map using UDK and I am exporting it as a .fbx for use within an XNA project. My question is, can I generate a UV map for texturing the map or is there an easier way to texture a map ...
1
vote
0answers
642 views

3ds max render to texture in PNG

Using 3ds Max 2012, I've been able to use the "render to texture" function to successfully bake my lighting. The only problem is that these image files are always output to TGA files. I need PNG ...
1
vote
0answers
36 views

Repeating UVs wont convert to texture in maya

I have designed a material in Maya which i want to convert to a texture jpg, however i have repeating the UV's on the material. When i convert the material to a jpg the repeating UV's wont convert ...
1
vote
0answers
99 views

Blender 2.6: UV-Matching on Non-Image-Textures

Situation: I want to model a piece of wood in Blender (2.63.0). In order to do this I use a set of Noise and Clouds textures on a brown material. But these textures are warped and shown in the wrong ...
1
vote
0answers
176 views

loading a heightmap as texture in shader

I have a height map of 256x256, containing, foreach cell, not only height as a normal float value ( not 0-1 ) and also 2 gradient values ( for X and Y ), also as normal float values ( not 0-1 ). I ...
1
vote
0answers
104 views

Rendering text with stb_font results in glitches

I'm trying to render text with OpenGL and an "inline"-font taken from the stb_fonts The relevant code for initializing the font & rendering: LabelFactory::LabelFactory() { static unsigned ...
1
vote
0answers
821 views

How to properly add texture to multi-fixture/shape b2Body

Hello to everyone this is my first poste here I hope that will be not fail start. At start I must say I make part 1 in Ray's Tutorial "How To Make A Game Like Fruit Ninja With Box2D and Cocos2D". But ...
1
vote
0answers
198 views

Remove “dots” noise (like from dot-matrix printer)

I have 2D array of floats. Using the floats, I generate image by doing proportional selection of color from between COLOR_MIN, COLOR_MAX – for maximal float value at given (x,y), I choose COLOR_MAX ...
0
votes
0answers
17 views

Scaling UDK landscape material

I have been following some guides off this site, more specifically the "Random Tiling Masks: Randomize the texture mapping to reduce tiling" section and I have run into an issue regarding scaling of ...
0
votes
0answers
11 views

How can you duplicat folders and not share old dependencies in Unity?

I have a folder with some prefabs, materials, textures, FBX, etc. My Prefabs refers to FBXs and Materials in this folder. Can I clone this folder in a way that it will save those local dependencies? ...
0
votes
0answers
107 views

Bad quality of the sprite in Unity

I need to import a few sprites (background platform and sky) into my game scene but it seems that their quality after importing into Unity is too bad (they are blurred). The original resolution of ...
0
votes
0answers
29 views

Load different grayscale images into the same texture

I have a series of images loaded as data1 = stbi_load_from_file(file1,&width,&height,&comp,1); data2 = stbi_load_from_file(file2,&width,&height,&comp,1); data3 = ...
0
votes
0answers
25 views

How to render many regions from the same texture using UV mapping?

I tried to apply some things that look like a "texture atlas". I would like to load 1 big texture which includes many small textures, my goal is to render each texture separately. I tried to use UV ...
0
votes
0answers
27 views

FPS drop after moved from Textures to TextureAtlas in LibGDX

I've started using LibGDX some time ago and I was making a test project to get used to this library. I've created some images and added them to the assets folder and loaded each image as a Texture ...
0
votes
0answers
27 views

Rectification of an image by using texture projection

I need to rectify an image with texture projection on GPU (GLSL/shaders), do you have any resources/tutorials/insights to share? I have the 3D pose of the camera that created the image and the image ...
0
votes
0answers
43 views

OpenGL Textures have distorted colors on some android devices

I am uploading loading images as textures to GLSurfaceView. The resulting textures look perfectly fine on some devices, on others the appear completely distorted. This is what it looks like on a ...
0
votes
0answers
22 views

OpenGL ES 1.0 Create a Trapezoidal perspective scaling on a texture while using Ortho

I am using an Ortho projection to do most of my stuff and i am happy with it since i basically do everything on the same plane, now however i need to create a simple "flip card" effect on an object ...
0
votes
0answers
122 views

How to pass a custom array of data to a shader

I want to know how to pass an array of data (it will be an encoded map, actually) to the fragment shader so I can query it as an array. AFAIK this is sadly not implemented in unity, so I'm looking ...
0
votes
0answers
33 views

Render just light, apply post processing and apply texture

Hi I have to apply a postprocess just on the irradiance and not on the colour texture, what is the best way to do the following: Render Irradiance (i.e. no diffuse colour) Apply post-processing ...
0
votes
0answers
49 views

Small detail displacement

Hi I am new here so sorry if the question is wrong somehow. I've implemented displacement with tessellation. I tessellate my mesh in the Tessellation Control Shader and then in the Tessellation ...
0
votes
0answers
199 views

Android - OpenGL ES 2 - Cube with different texture in each side

I need to create a 3d cube, with a different texture on each side. Here is my cube class, which my other classes extend: import java.nio.ByteBuffer; import java.nio.ByteOrder; import ...
0
votes
0answers
30 views

vertical lines on texture in libgdx

i am getting vertical lines on my texture even though i tried implementing texture filters,both linear and nearest and still i get the lines.how do i get rid of it? here is the code: package ...
0
votes
0answers
58 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
0answers
49 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
0answers
94 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 ...
0
votes
0answers
28 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 ...