As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [materials]

A definition of physical and/or visual characteristics of a surface, often for use with rendering software or a game engine.

Filter by
Sorted by
Tagged with
0 votes
1 answer
24 views

Unity shader is changing the selectable area to the original texture it used

I know a little about shaders, but not much. I cobbled one together to to light my sprites, and it's working great if not for one thing: I originally tested the shader with a chair texture. I made a ...
Jam's user avatar
  • 111
0 votes
1 answer
47 views

How to retain links between assets when merging two projects into one?

We have a common Model library where different models/textures are stored. We use this library for our new project. Here is the scenario: Two individuals started separate projects and are now merging ...
Muhammad Faizan Khan's user avatar
0 votes
0 answers
24 views

Baking material used on a model to texture

In my project I have to optimize our assets. I want to create texture atlas. How can I bake objects' materials to a texture, so then I can make all assets in this scene use one material with this ...
Dekash's user avatar
  • 1
0 votes
1 answer
108 views

Texture base color not showing for Unreal Engine auto material?

So on the right there's the item that needs to be in the auto material (the base color for snow) but it isn't showing up in the material instance. The node is in the proper group (also shown) Any ...
Tyler Dumond's user avatar
0 votes
0 answers
41 views

How can I make the water in Unreal Engine 5 clearer so that the rocks underneath are more visible?

I'm trying to make the water in my Unreal Engine 5 project look clearer so that the rocks underneath are more visible. I've attached two images, one is the current look of my water and the other is ...
Antreas Alexandrou's user avatar
0 votes
0 answers
40 views

Distance fields reacting to camera in a odd way

I have a material using distance fields that reacts in chunks as I bring the camera closer. It's almost as if it's reacting to a distance field with the camera but much larger and less gradual.This ...
Alexandria Hunsinger's user avatar
0 votes
0 answers
33 views

Display a user webcam over multiplayer session on a wall in the middle of a level?

With the media framework, it’s now quite easy to use webcam or phone camera footage directly in the game. Is there also a way to share this footage in a multiplayer game? So player A can see the ...
Apothem Da Munster's user avatar
0 votes
0 answers
97 views

Edge Shader in UE5 with Triplanar Mapping

I am designing a LEGO brick shader in UE5 and wanted to add a scratch normal map to it. But I only want that scratch normal map to apply to where there is an edge to a mesh. The material uses ...
BlenderMaster15's user avatar
2 votes
0 answers
83 views

Materials become greyscale when building Windows executable from Linux machine

I have a whole build pipeline on a digitalocean Linux machine that does my builds for my game. I recently upgraded the entire project from some 2020 build to Unity 2021.3.8f1. The problem is, now, the ...
Thoumis Tiechy's user avatar
0 votes
0 answers
252 views

Translucent material with outlines (in UE4).... How do I do this?

I have been trying to create a material like this in Unreal Engine 4.27 but I can't seem to find any resources on how to do this. The goal is to use this material on any 3D model to give it ...
FrankieS's user avatar
0 votes
1 answer
195 views

Change Mesh face colors / materials at runtime

I'm trying to change the color/material of the faces on my object at runtime. My object has a default SpatialMappingWireframe to begin with: And I'm trying to assign new colors on start like so: <...
TomSelleck's user avatar
0 votes
0 answers
56 views

Programatically change the materials of an avatar, and only one avatar

Im using an asset I bought some time ago, and using some models from it. This is the model: My question is, how could I dynamically change things like the hair, the uniform, etc? The asset comes with ...
Fustigador's user avatar
0 votes
0 answers
87 views

Importing Texture > Create Material Instance

I have a large number of images I need to import and they each need to be added to a specific material instance. Doing this manually would take days. I'm wondering how I can automate this. For example....
Smail's user avatar
  • 141
0 votes
0 answers
17 views

Two materials with the exact same settings show different behaviours

I have made a material recently with a red “A” on top of a glass shader. I had a bunch of problems ensuring that the “A” decal was unaffected by the transparency so that only the glass shader would be ...
J.Doe's user avatar
  • 101
0 votes
0 answers
41 views

How to apply a texture to a cube, and make some parts transparent?

I'd like to apply a texture to a Unity cube primitive. My texture image has some transparent parts, but when I apply this texture to my cube, those parts that should vanish are still visible. So, ...
stighy's user avatar
  • 867
1 vote
1 answer
852 views

How to calculate screen space UV coordinates from a specific camera

In Unreal Engine 4.27 I am currently trying to create a material (shader) that maps a texture onto a quad using the screen space coordinates from a specific camera. If I am using the current active ...
Benjamin Danger Johnson's user avatar
0 votes
2 answers
378 views

How can I make the hue of a material change over time?

I'm working on a small psychedelic-style game that needs to be done in Unity, with which I have no prior experience. I'd like to achieve an effect where the material of my objects can change colors ...
Zombified Taco's user avatar
0 votes
0 answers
63 views

Should Uniform Buffer size be set very large to accommodate shaders with different numbers of parameters?

When using uniform buffers should you set the size of the buffer to really large to be able to use different types of shaders with different number of parameters. for example lets say i have a ...
ResidentD1022's user avatar
0 votes
0 answers
101 views

Unreal Engine Scale Ground Material Into A Pattern Instead of One Big Overlay

I bought a ground texture and I'm trying to apply it to the landscape in an Unreal Project. When I apply the ground texture it looks like this: The landscape is really large so I'm assuming the ...
ChristianOConnor's user avatar
1 vote
0 answers
82 views

Unreal Engine Can't Rotate Material

I am a Blender artist and Unity Developer. I'm very familiar with materials and texture maps in Blender and I'm only moderately familiar with texture maps in Unity. My workflow is to do all of my ...
ChristianOConnor's user avatar
0 votes
1 answer
407 views

Unity HDRP Emissions - When setting over 1 nit, blue becomes progressively more purple

I've been trying to use a HDRP Lit Shader material to create an intense lighting effect in a dark environment. I'm using a texture as an emission mask which is simply a 16x16 black png split into ...
theburntcrumpet's user avatar
0 votes
0 answers
47 views

Suddenly getting pink rendered texture on model

Hey All I have been using this model in this project for a bit and everything was fine then suddenly this issue popped up and I am not sure what could be the cause. I am using a flatkit shader but ...
Doug Ray's user avatar
  • 143
0 votes
0 answers
276 views

Implementing material (mtl) files into objects (obj) in LWJGL/OpenGL

I have an object loader that takes in textures, but when I try making some textures, they never turn out exactly how I want. I found out that a lot of them take a colour I want in one place and put it ...
Zwei's user avatar
  • 1
0 votes
0 answers
691 views

How does the Unity Editor use shader stencils in the UI?

It seems clear that Unity UI has some use for shader stencils, based on the fact that UI shaders tend to have something like this: ...
Geo's user avatar
  • 161
0 votes
1 answer
288 views

Generating UVs for an annular sector/ wedge-shaped procedural mesh

I am using code to generate a mesh to show the firing arcs for a tabletop-style game I am working on. But when applying a material to it, I only get a solid color. Here you can see the custom mesh ...
Thom Foxx's user avatar
1 vote
0 answers
65 views

Using FBX Exporter messes up materials of VRM?

I am trying to export a VRM into an FBX to edit in Blender. To do this, I have installed UniVRM to import the VRM, and FBXExporter to export it as an FBX. This almost works great. However, I have an ...
yunum's user avatar
  • 47
0 votes
0 answers
80 views

Animation is not playing after i animated material, also animator gets disabled when i play animation clip

Here have a look at this screen recording (https://youtu.be/PvAt_t0NdQk). What am I doing wrong? I have selected prefab and working on it directly. I animated the material of the object I want it to ...
Danish Arain's user avatar
0 votes
1 answer
156 views

Give an opaque color to inner base of otherwise transparent cube?

This is my first time using a material in Unreal Engine. I am trying to create a transparent cube except for the inner face of the base, which I would like to be opaque white, like in this drawing: I ...
interwebjill's user avatar
1 vote
0 answers
414 views

Rendering between two DrawMeshInstanced() calls in Unity

I am working on a 2D shmup that requires rendering thousands of animated bullets and animated medals on screen at the same time. I use a standard pooling method to activate and deactivate these ...
DyingIsFun's user avatar
  • 1,527
1 vote
0 answers
92 views

How to create a modular environment that doesn't repeat itself?

I am creating a modular environment for a game so I have walls repeating quite often. What I want to achieve is to have the same walls with a different look, even though they are the same mesh sharing ...
Raffaele Lungarella's user avatar
0 votes
1 answer
182 views

Unreal Engine - Materials Import as Gray

I imported the .fbx files from here: https://www.cgtrader.com/3d-models/industrial/other/big-warehouse-pack into an Unreal Engine 4.27 project. All the meshes load in properly, but the materials are ...
Quantum Guy 123's user avatar
1 vote
0 answers
217 views

How to create a seamlessly wrapping procedural brick material with a shader?

How do you create a shader that seamlessly wraps a brick pattern around the whole object, so that there are no "Stitches" at any edges/corners? Take this screenshot for example: On the left ...
SePröbläm's user avatar
0 votes
1 answer
176 views

How to access a Material Editor node from a script?

Is it possible to access a node from the Material Editor from a C++ script? I'd like to be able to change the value of 'Mulitply' from a script.
I_Keep_Trying's user avatar
1 vote
0 answers
19 views

I have a problem with updating a RenderTexture being used in combination with a shader

I just can't seem to figure out why I can't save the image I've drawn onto an orthographic RenderTexture. Here's how my scene works: https://i.imgur.com/jAWO2V8.gif Basically, it's a painting effect ...
xxhoisinxx's user avatar
-1 votes
1 answer
95 views

Implementing wet and dirty materials [closed]

How you would implement wet and dirty materials or material overlays that you can clean like in PowerWash Simulator.
hefe's user avatar
  • 103
0 votes
1 answer
506 views

Unity baked light messes up a set of objects

On a few objects I use a technique where instead of using geometry, I place planes with a Cutout Material on top of each other, creating a 3D illusion with minimal cost. The thing is, it looks great ...
505Legion's user avatar
  • 103
0 votes
0 answers
232 views

How can I recreate a material from blender in Unreal engine

I'm new to unreal and I am having trouble finding a way to reproduce the materials for a mesh in blender in unreal. It's a simple material but I can't find a way to reproduce the color ramp ...
Adriano Rivadeneyra's user avatar
0 votes
1 answer
179 views

Edge bleeding with opacity map

I want to layer a grass texture with opacity over a dirt texture to form an edge. Both on the same model. But I'm getting edge bleeding from the opacity. I made both textures within Substance Designer ...
julian.a's user avatar
  • 103
0 votes
0 answers
37 views

What is the best approach to using videos to animate a weapons' display screen in Unity?

My job is to create, model and animate sci-fi weapons', and create Unity assets out of them so they are ready to use. This particular weapon has two side displays. I've animated some text in After ...
Jeremy McCloud's user avatar
0 votes
1 answer
2k views

How to change multiple materials attached to one GameObject

I am working on a script that changes the material of a selected object when hovered over. The object(s) in question have multiple materials attached. The problem is that only the first material is ...
Daniel Burke's user avatar
0 votes
1 answer
26 views

Material overridden when importing package between 2 pc

So I work with my colleague A and he has (for example) a basic scene A exports the scene as package to give me. and on my pc with new project I imported the package everything is fine and I make ...
Young Gilgamesh's user avatar
0 votes
1 answer
86 views

Putting a material on a fractured model

I have a square model that has been fractured using blender's cell fracture. I also have a material that I want to apply onto the broken pieces. The only problem is that the material needs to be ...
ScythePhantom's user avatar
1 vote
1 answer
36 views

Maya 3d Model. 2+ Materials on a face? Snooker Table felt with lines overlay

I've made a snooker table in Maya for use in a game in Unity. The felt texture on the table is a tiled texture, I used Blinn, and 'place2dTexture' node to do the tiling. It all looked great. Except I ...
I_Keep_Trying's user avatar
0 votes
1 answer
178 views

Materials aren't loading correctly from SketchUp into Unity

I imported a SketchUp COLLADA (.dae) file from 2017 SketchUp Make, and imported it into Unity. I then clicked "Use External Materials" and the colors began to load. But I noticed quickly ...
Ginger's user avatar
  • 111
0 votes
1 answer
167 views

Problem importing Blender materials into Unity via FBX

I've created a simply low poly house in Blender (2.92) that I have imported into Unity as an FBX. Materials (simple colours) are all set up in Blender. Initially this was all working fine. Colours all ...
nmw01223's user avatar
  • 101
0 votes
0 answers
1k views

Unity HDRP transparent material back-face rendering/front face culling

I try to render an object with 2 different transparent materials. One should only render the back faces (higher opacity/more color) and one only the front faces (lower opacity/less color). The purpose ...
Megaloadon's user avatar
0 votes
2 answers
1k views

SpriteRenderer color not responding to script!

I have written a simple c# class that is supposed to change the color of the Player Renderer. But, there seems to be a problem! whenever I call the function OnCallFun() ... the color stays put and ...
Hussain Mussa's user avatar
0 votes
1 answer
99 views

Why does my PBR material appear grey in game?

I am playing around with PBR materials and I cant get them to work correctly. When I create a material using PBR the model appears gray in game. Any ideas on why I’m not getting the same result? ...
Jason Crosby's user avatar
2 votes
0 answers
441 views

Unity - Emission Material on Top of UI

I've already uploaded this question in the Unity forums but only got a response but not an answer or solution. Here's a link to the original post: https://forum.unity.com/threads/emission-material-on-...
Dark Kool's user avatar
0 votes
1 answer
259 views

Unity - plain material colour darker than expected

I want to add to scene object without textures, only plain material, here is my import flow: I create object in Sketch and export to SVG: Then I import SVG to blender (Material do not use nodes, has ...
Marcin Piotrowski's user avatar

1
2 3 4 5