We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [textures]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
21 views

Optimizing texture fetches with higher mip levels

Let's say I have some shader program in DirectX or OpenGL rendering a full screen quad. And in a pixel/fragment shader I sample some huge textures at random texture coordinates. That is one same ...
0
votes
0answers
18 views

UV unwrapping and texturing for a voxel terrain

As sugested by another kind user, I started using MagicaVoxel to create the scenery for my game (which is in the 2.5D style of Pokémon Gen 5 or Octopath Traveler). I managed to import the test object ...
0
votes
1answer
26 views

Stream Clients Cameras from Server Side

There's a way to see specific client Camera from server (using RawImage ..) and sync view. I tried RenderTextue, but i didn't find a solution for that.
0
votes
0answers
51 views

Can't load textures to the game

I am making a game with SDL and C++. I am trying to render simple image to the screen but I can't. I don't know why, I am not getting any ERROR but I see only black screen. Here is my code: game.h <...
0
votes
0answers
22 views

Unity 3D - Materials are Stretching and Tiling doesn't Help

I am a programming student working with Unity 3D, version 2018.4.6f1 for this class. I wanted to add some materials to my wall, however, this results in a rather ugly result, because my walls are of ...
1
vote
1answer
49 views

What is the Workflow? Blender -> Substance Painter -> Unreal Engine 4

My name is Jose and I'm pretty new to Game Art Development. I know some intermediate UE4 (both C++ and Blueprints), but my weakest point has always been the workflow to import assets from Blender and ...
0
votes
1answer
34 views

texturing a race track - applying variations

I have created a simple race track in Blender using bezier curve, array and curve modifiers. A track is created from simple planes and the basic seamless asphalt texture looks quite good. As you can ...
0
votes
0answers
15 views

Blender-Unity (+ Lightmaps): Can I (should I?) have multiple UV maps for a single mesh?

I am making a game that I worry is not running optimally due to lots of high-res textures. The irony is that most scene assets use the same materials but I have to (do I?) unwrap the entire mesh on a ...
0
votes
1answer
61 views

Unity: White outline around seams in my character, make it stop!

so once upon a time I made a really cool character for my game project and he looked great. Then at some unspecific point in time, my character's UV seams got these awful white outlines around them: ...
1
vote
0answers
24 views

PyOpenGL Cubemap ARB Texture not rotating with gluSphere

I've made a gluSphere render in my display and have given it a cube map texture of the Earth. The texture is visible just fine (see below), but I cannot get it to rotate along with the shape. this ...
0
votes
0answers
30 views

Having trouble with getting an image to fit on a face of a cube

I have a problem with a Unity project that I'm working on. I'm creating an 3D art gallery which will be developed into a VR application in the future. In a 3D scene, I have created a ...
1
vote
2answers
24 views

How to Convert Sprite into Texture

I Have image with a sprite and i want to change this image sprite to Texture so that I can assign it to the material And i don't want to keep multiple copies for each image as a sprite and texture. ...
0
votes
1answer
17 views

creating 2d array texture with mipmap

these day i am working with texture2d array with mipmapping. so this is how i tried so far. my approach load multiple(not textureArray form) textures that i want to set as array from computer folder. ...
0
votes
1answer
24 views

Draw textured circle / 2D shape in SceneKit

I have the following code to create a circle Path and a SCNShape from this path. orbit_gradient.png is a horizontal 1px high image that represents a gradient. ...
0
votes
2answers
70 views

how to generate mipmap, and check if done properly?

i am implementing Mipmapping for my texture for the first time. i have 2 questions HOW TO CHECK IF MIPMAP IS DONE PROPERLY ? HOW TO SET MIPMAP FOR TEXTURE FROM FILE ? First one. i implemented ...
1
vote
1answer
26 views

Attach an Animated Texture to a Character in Unity

Is it possible to have an animated texture of facial features on a characters face in unity? (I haven't made the game yet, I'm researching). I would like to achieve a cartoon effect.
1
vote
1answer
38 views

reading from texture2d resource in directx11

Hi^^ i am trying to read data in resource, which i used to do well without any problems. but suddenly it is not working. first i made immutable resource that has data in it, which is ...
0
votes
0answers
4 views

Extract “alpha” layed from “.dds” DXT3/DXT5 texture file

Given: Examples are provided using python, but it's not matter. There is white_small.png, contains RGBA. And there is ...
0
votes
0answers
11 views

Unity cloud build speedtree textures incorrect type after build

So I finally (after a few days) got unity cloud build to work. When I build it using the unity editor everything is fine. However, when the cloud build service builds it I get some odd textures for ...
1
vote
1answer
54 views

How to add noise into a texture?

I'm working on a Heat Map generated from Perlin Noise. So far I've got 2 different outputs. Let's go step by step: The result should be something like this: This is the Perlin Noise I've got, easy ...
0
votes
0answers
36 views

Blitting multiple SDL_Surface texts on top of an empty SDL_Surface results in strange outlines

I'm trying to create a single SDL_Surface that has multiple lines of texts stacked on top of each other using SDL2. When I create a single ...
0
votes
1answer
63 views

Soft Body rendering from OBJ model

As part of my master thesis I have to do an softbody simulation. I 'm using Bullet Physics engine. I'm trying to render softbody, create from Meshes, with Shaders in OpenGL but the object doesnt ...
2
votes
1answer
33 views

Removing texture wrapping artifacts in OpenGLES

I'm drawing an 2D array of cubes in 3D space using OpenGLES. The texture that I have bound is spritesheet-style; that is, it's multiple textures packed into one. If you look closely at the front of ...
-1
votes
1answer
69 views

What are these three different texture types I found in Pokémon sun?

I am currently trying to extract the Pokémon models/textures/animations of the Pokémon Sun game so i can use them as placeholders in Godot. At the moment I have the model, the textures and the ...
3
votes
1answer
53 views

How can I spread my texture evenly across a cylinder in Unreal Engine 4?

How can I spread my texture evenly across a cylinder in Unreal Engine 4? Specifically, in the image below, I would like have texture on cylinder (on the left) match the one on the box (on the right). ...
2
votes
1answer
79 views

How to store noise in a GL texture

I find that my procedural simplex noise in my fragment shader hurts performance, so I thought I would just use a stored noise texture instead. I would like my noise values to have better than 8 bits ...
0
votes
1answer
46 views

Rendering multiple textures on same image for terrain with index buffers (LWJGL 3)

I have started with LWJGL3 and trying to built game engine. I'm stuck on generating terrains and this is my second big problem and I'm exhausted so I need some advice on how to solve my problem. What ...
2
votes
1answer
31 views

Problem with rendering multiple textures from same image (LWJGL 3)

I have started with LWJGL3 and trying to built game engine. I'm stuck on generating terrains. I have one image that contains two textures. So now for example I want to generate terrain with only ...
0
votes
2answers
65 views

How to make a texture appear the same way in a cube?

My problem seems so simple, that before asking the question here I did a search on google and this site: https://forums.unrealengine.com/development-discussion/content-creation/33665-applying-and-...
2
votes
1answer
92 views

How to set the UVs of a procedurally generated road mesh?

I want to create a road through a c# script in Unity. I created a mesh like this. The "vertetices" first adds the left and then the right points. Then set the UV the same order and value as "...
2
votes
1answer
75 views

OpenGL Textures: Texture contains color lines when object is further away that some distance

I tried searching on the web but couldn't find a reason for this. When I render an object close to the camera, the object and texture renders fine. But further away from a fixed distance, it starts ...
1
vote
1answer
51 views

What would be the benefit of placing all of a room's textures on an object outside of the camera's view?

Pokémon XD: Gale of Darkness does an odd thing with textures. As described in this video, all textures for a room are placed on an object outside of the camera's view: This kind of caught me off-...
0
votes
0answers
29 views

UV mapping a playing card in Maya for use in Unity (using a SpriteSheet of all the playing cards). One Material or Two?

I am wanting to make a pack of cards in Unity and Maya. I am familiar with UV unwrapping in Maya, but I never used sprite sheet for my models i unwrapped. (They all just fit onto one texture so far). ...
2
votes
1answer
109 views

Tiling texture doesn't repeat, even though wrap mode is set to repeat

For some reason, my floor tiling (set to 100 x 100) only shows on one corner of the plane. Past that corner, it just stretches out to the sides and leaves the middle one solid colour: Here is how I'...
0
votes
0answers
28 views

Substance Painter Reset 2D View?

I have been working through the 2D view to apply textures and such then for some reason the camera just spazzed out and zoomed out alot and the F key only seems to reset the 3D View. How would I go ...
0
votes
0answers
15 views

Pands3d. Get value of texture under mouse cursor

That's quite straitforward. While creating a technical demo, i encountered a problem, where i need to know color of textures under mouse coursor. As i see it, there must be a function to transform ...
0
votes
0answers
64 views

Render (screenshot) weapon model in Counter-Strike: Global Offensive

I need to take screenshot of weapon model from screen like this, without any background. Tried to remove and change resources using mat_texture_list console command,...
0
votes
1answer
74 views

Finding texture coordinates for plane

I am creating a 3D ray tracer and want to add textured planes. My planes are stored using a position vector and a normal vector. I want to use a square texture and map it repetitively onto the plane....
0
votes
1answer
397 views

How to change Texture2D type to Sprite during runtime (Unity)

How can we convert the Texture2D type to "Sprite" using the script (not in Editor)? It seems that the Texture2D retrieved from file is by default Normal Map. I need to convert the TextureType to "...
1
vote
0answers
42 views

Unity: Terrain Texturing Roads

The way I would texture a road within a given terrain is with a seperate mesh and a horizontally tileable texture such as this: Then make sure the texture on the edge of the road and the terrain ...
0
votes
0answers
30 views

HLSL Texture Sampling Instability

I'm having some very strange behavior trying to calculate gradients in a shader. In both snippets, uv is the texture coordinate, duv is a float3 proportional to (1/width,1/height,0), c is tex2D(...
1
vote
0answers
21 views

How to import a texture to be used as occlusion map?

The same way normal maps need to be imported as "Normal map" in the import settings, how should I setup an Ambient Occlusion texture to correctly work? I've been searching around in the manual and ...
0
votes
0answers
49 views

Draw sprite outline with sprite renderer in opengl

I'm using a scenegraph with the visitor pattern to draw sprites in my 2D GameEngine. It works great. Now I'd like to render the lines of the cube the sprite is rendered onto. ...
0
votes
1answer
64 views

Missing texture after add new actors

I want to add two types of characters multiple times but when I add a new actor to stage texture in "old" actors stops render. I can add multiple KnightActor (...
0
votes
1answer
72 views

Black and white textures load as turquoise?

I have some black and white, and some grayscale textures, that are loading in unity as turquoise and white textures. What is causing this and how can I fix this? Also, can somebody verify that I am ...
3
votes
0answers
94 views

How to use large texture atlases in my shaders on mobile devices

This is a frustrating discovery. I have ported my desktop game to mobile and discovered that floating point precision in my shaders is not good. I have large animations which I store per frame on a ...
1
vote
2answers
133 views

C++ OpenGL texture warping

I'm currently doing simple 3D drawing in OpenGL but I have hit a roadblock I just can't seem to get around. The problem is happening with trying to load .obj files. I've written my own .obj reader. I ...
0
votes
0answers
15 views

How to dynamically fit texture to screenspace projection of object?

I want to map a texture onto an object so that it gets fitted onto the entire screenspace projection of the object, i.e. for each vertical cross-section of the object as visible by the camera, the ...
0
votes
0answers
13 views

Unity - importing Blender materials

Could someone help me understand something? I'm a bit confused as to why Unity doesn't import simple coloured materials over from a .blend file. If I select my character model that I've brought into ...
0
votes
2answers
272 views

Limit Color Pallete Using Shader (Unity)

Basically, what I want to do is take a primary input image texture (which is a render texture in-game) and a secondary pallete texture (contains X number of colors, and is X by 1 pixels in size). What ...