Questions tagged [textures]

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

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

Shader Tiling Texture Overlapping between X and Z Axes

I have a shader (code at the bottom of this) that I'm using for a terrain. It renders a texture on the sides of the terrain (the x and z axes) and between those axes the texture tends to overlap. I ...
0
votes
0answers
10 views

Can't import shaders/textures to Godot from Blender 2.8

I'm using this shader for my models and then i import them like this This is the original model in blender: the result in godot: I think i might have missed some step but not sure of which one, i ...
0
votes
1answer
25 views

Interactive texture modification (such as swirling) in Unity

I am working on a game where I want to allow users to mix multiple colors (similar to shown in this video): https://youtu.be/11UFYyv8hjs?t=316. I have the following questions: I am expecting that ...
1
vote
1answer
916 views

LibGDX: How to use AssetManager with Texture Atlases?

A similar question was asked before, but I never saw an answer. How does one load individual texture regions that derive from a texture atlas using assetManager? I know that assetManager relies on a ...
1
vote
1answer
46 views

Draw calls in Unity 3d

I have only 20 materials in my game (19 are made with textures atlas). But the Setpass call is 72. I don't understand why. I want to know how to decrease the number of SetPass call. This is a brief ...
0
votes
1answer
569 views

Unity: Non Power of 2 Textures

I have a texture that is 1024x900. Should I resize it in Photoshop to be 1024x1024 or leave it as it is? What about a texture sized 1000x900?
0
votes
0answers
18 views

.blend scenes are not showing texture in Unity

I am new to Unity and Blender. I am getting a problem when importing .blend files into Unity: in Unity scenes the textures created in Blender are not showing. But ...
0
votes
2answers
623 views

How can I have margins or padding around a texture in libgdx?

I am building a game using libgdx a 2048 like game and I draw the tiles of the board using textures (each texture represents a tile with the number 2 or 4 etc.) I would like tohave a small space ...
0
votes
4answers
4k views

Correct way to project a texture with alpha and colors onto surfaces in Unity

I am experimenting with Unity and wanted to project a unit circle beneath a unit and my very first naive approach was to create a child plane below the unit, assign the material to it and stretch it ...
0
votes
1answer
159 views

Issues to display a texture loaded with libPNG with opengles 3.0

I'm trying to load a texture loaded with libPNG on a XY coordinates. I know the width and the height of the texture (32x32). The texture is already loaded successfully and I have his Id. Here is my ...
1
vote
2answers
574 views

Proper way to update pixel array data

For a game that updates a board every frame I am calculating the next arrangement of board, updating pixel array data and render board as 2D texture to quad the size of the screen using OpenGL. I use:...
0
votes
1answer
434 views

World space coords for 2d images

How can I make an 2d image using World space coords with a shape? Like a circle instead of a quad.In 3d you can modify the vertices but if I want a smooth circle there will be too much vertices. What ...
0
votes
0answers
28 views

Polygon filling algorithm

Share your methods or algorithms for painting areal objects, I will be very grateful. I have points List <Vector2> or ...
5
votes
1answer
279 views

How can I let players “scrape away” one texture to reveal another?

In this game I'm making, I want my players to be able to remove rust from an object based on collisions from another object such as a wire brush. Since it's a VR game, performance is key. I've ...
0
votes
1answer
37 views

Texture blends into one single color

It looks like that it's being sampled from the least detailed MIP level, at least RenderDoc sees the texture as it should be, and what the actual texture looks like is the same as MIP 9th. I'm using ...
0
votes
1answer
61 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
1answer
43 views

How to capture image from camera with post effects? Mysteriously only get emission(?) pass

I have a separate camera from my main camera, whose purpose is to take screenshots, or render a "live feed" of the action, at different angles. Hierarchy as such: The game object labeled ...
1
vote
1answer
64 views

OpenGL texture2d/image sampling issue. Strange artifacts in texture

I have an issue when using textures in OpenGL, strange artifacts occur where geometry overlaps, but not always. Video Reference. I am using a GL_TEXTURE_2D with <...
1
vote
1answer
36 views

Fragment shader - map dot texture repeatedly over the sphere

I have a sphere and in Fragment shader, I have available lat / lon position (in radians) for every fragment. I have a texture of a single dot. I need to map this single dot (or any other texture) ...
0
votes
1answer
22 views

When importing a character to Unity, textures and meshes don't appear

I'm relatively new to Unity, and I'm left with doing this as my last step towards my task - importing my animated character to a game engine and program the movements. The problems that I have ...
0
votes
1answer
36 views

Texture with Transparent background has black background in Unity

please see the below image. I made a model in Blender that has eye meshes with UV mapped Pupils. But trying to import all this into Unity is causing tons of weird visual errors... The pupil png has a ...
0
votes
1answer
23 views

Crash when creating RenderTargetViews for Cubemap

I want to create a cubemap and I want to render to it and later sample from it for reflections. However, It crashes when I try to create the faces for the cubemap. Here is my code: ...
0
votes
0answers
65 views

Trying to 'stamp' an arbitrary assortment of pixels to a texture2d that may be rotated at an arbitrary angle

This one is hard to explain but I'll try to not to overcomplicate it. Engine is Unity, for reference. I have a system where an object has a 2d texture to display a custom splat map. The user can '...
0
votes
1answer
29 views

How to convert depth values into Unity's distance

I am new in Unity and now only studying for my work project. I need help with computing real distances from depth values. Can't figure it out. My shader is: ...
0
votes
1answer
162 views

Running OpenGL app on Windows XP x86 produces incorrect texture colors

I'm working with the Cen64 emulator and I compiled from source a x86 version that operates fine on Windows 10 x64. As soon as I run it on a Windows XP x86 machine the colors are then all incorrect. ...
0
votes
1answer
164 views

Draw a texture2D at specific coordinates on another Texture2D

I have a ShipTexture and a Sail Texture. I need to draw the sail texture at a specific location on the shipTexture (call it the sailMountPoint) regardless of the location vector associated with the ...
0
votes
1answer
69 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 (...
2
votes
2answers
67 views

2 Images, same object: tone difference and alignment

I would like to know a software which helps in post-production to calculate the general color/tone difference of 2 images. The images contain the same object, but arn't shot from the same position. ...
0
votes
1answer
22 views

How to convert point coordinate when taking a snapshot?

Can anyone explain me please how to convert point from Screen-coordinate system to Texture 2D? The screen size say for example 700x500 and Texture2D must be of size 1024x768. I am getting points from ...
0
votes
1answer
45 views

How to use multiple UV maps with ShaderLab (Unity)

I want to layer one texture over top of another on the same mesh, but map the textures to different UV maps. The example for Detail Maps in the Surface Shader Examples looks almost identical to what ...
0
votes
1answer
34 views

How to adjust texture on a sphere?

As seen, the texture is not adjusted to the sphere. I tried to change alignment, but it still displays multiple sides. How can I fix this?
1
vote
2answers
134 views

Why is my texture spilling?

I'm trying to create a 3D Sword Slash VFX and created the model for the effect in blender. It's basically a wedge or ufo-shaped mesh. I proceeded to paint a simple test texture to see how it would ...
0
votes
1answer
59 views

How to apply saturn's ring texture in Unreal Engine 4?

I'm working on a "solar system" model project. And while trying to apply saturn's ring texture which is this one : it ended up looking like this: I'm new to UE4 and this branch in general. So I ...
0
votes
1answer
39 views

Where can I find the Roblox Material/Terrain textures?

The textures shown in this image: Where can I find them? I am making a Roblox game, it's a terrain based mining game, and I want to add an inventory. Where can I find the textures for the terrain to ...
0
votes
0answers
19 views

Blender & Unity - Move texture with Bone in way that works with Unity?

I created a character model in Blender with non-spherical eyes. The only way I can make the eye movement look good is if I move the pupil Image Textures along the eye meshes. The way I've achieved ...
0
votes
0answers
11 views

Artifacts on crosshair in game view with FXAA

I have a transparent grid texture that I am displaying on a quad using the URP's built in unlit/Transparent Shader. The intersections render as desired in the scene view, but have artifacting in the ...
0
votes
0answers
16 views

How do I view a Source engine (Left 4 Dead 2) VTF?

I used to use Source a lot, but it's been a long time. Now I want to look up some Left 4 Dead 2 textures for reference (Hard Rain's water particles, mainly), but the tools I used to use don't seem to ...
0
votes
0answers
15 views

Need to generate seamless gradient noise texture for water Shader [duplicate]

I need to generate something like this for my water Shader, because on fly calculations are to expensive for mobile (https://docs.unity3d.com/Packages/com.unity.shadergraph@6.9/manual/Gradient-Noise-...
0
votes
0answers
298 views

Issue whith transparent textures when loading a prefab in Unity

I'm trying to implement Asset Bundles in my Unity game. I used to instantiate a prefab with Instantiate<GameObject>(gameRootPrefab), which worked fine. Now ...
0
votes
1answer
60 views

2D Tile based game Texture Atlas combining

I am new to OpenGL and game dev, I have been to courses and trying to learing everything about this. My task is to implement a Texture Atlas in a 2D tile based game (very similar to Tibia) using ...
0
votes
3answers
3k views

Why use textures that are Power of Two? [duplicate]

Possible Duplicate: Why are textures always square powers of two? What if they aren’t? I am using C# and XNA (also MonoGame for other platforms than Windows) to create a game in 2D. Ususally for ...
1
vote
0answers
54 views

Unity Shader-Graph randomly tiled sprite

Lets say I have a shader with a clean white tile. Then I use it on a wall and tile it a few times. I also have a sprite with numbers. Now, is it possible and if yes how. To put a random sprite ...
0
votes
2answers
816 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 ...
0
votes
1answer
16 views

Unity3d texture size different than original png image [duplicate]

While selecting a png image as a texture for a material in Unity, it shows different size (bigger) than the actual file size, why is this so? how can I reduce its effective size to make it perform ...
0
votes
0answers
72 views

Unity: Exporting Game creates Texture Glitches

In the editor the textures are fine, however upon exporting I'm constantly faced with glitches like these: I mainly use the Built-in Standard Specular Shader and the texture that gets glitched is ...
0
votes
0answers
10 views

Blender 2.82: After saving baked texture, Blender thinks the file I saved is the “render result” still in memory, frequent issue

Even back during 2.79, when I wanted to bake a texture, I would have this problem. After a texture gets baked, I am notified that the image texture has been "saved internally" and now I must save it. ...
0
votes
1answer
168 views

Unity Shader Graph combine textures with transparency

I have two transparent textures. border.png and text png. They are both white images with transparency for the parts I dont want to affect. What I want to achieve in shadergraph is to: 1: Put both ...
0
votes
1answer
29 views

d3d11 black texture when manually creating from image (Rust)

I am trying to create a ID3D11Texture2D from a RgbaImage loaded from a .jpg. The below code produces no errors. However, the texture is black when it is actually ...
0
votes
0answers
21 views

Metal is rendering textures darker than they should be? [duplicate]

I already checked this question. Using [MTKTextureLoader.Option.SRGB : false] in texture loader options doesn't work. All that happens is when I do ...
1
vote
0answers
52 views

Why is Metal is rendering textures SLIGHTLY darker than they should be?

I already checked this question. Using [MTKTextureLoader.Option.SRGB : false] in texture loader options doesn't work. All that happens is when I do ...

1
2 3 4 5
28