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
663 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 ...
4 votes
6 answers
21k views

Why are all materials pink in my Unity URP project?

Version: Unity 2020.2.0f1 I started my project with Universal Render Pipeline template but I don't know why all materials are pink. I even tried to upgrading but nothing happened. This error was ...
0 votes
0 answers
32 views

How to add a toon / cel shader to a URP 3D project?

I'm new to Unity and I've been frustrated for the last 5 days. I'm trying to apply a toon / cel shader to my object which I've imported from Blender. It already has a default material called ...
1 vote
1 answer
31 views

White noise on my material after import to UE5 from Blender

Please have a look at the 2 screenshots attached. The first one is from Blender. The second one is UE 5.3. My first question is why my model in Unreal looks brighter than in Blender? Do you see kind ...
0 votes
1 answer
413 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 ...
2 votes
2 answers
110 views

How do materials and shaders work in graphics programming?

I stumbled upon a few videos about shaders and materials from The Cherno and my understanding is that materials are this sort of input that a shader takes to calculate an output instead of hard coding ...
2 votes
3 answers
2k views

Emissive material not casting light on itself in Unreal

I have a static mesh that has an emissive material applied to part of the mesh. The emissive material successfully cast light to surrounding objects. However, the face of the mesh with the emissive ...
0 votes
1 answer
814 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 ...
0 votes
0 answers
19 views

Correct Orientation from Blender to Unreal Engine 5 in a spline

Let me preface this by saying I'm an absolute beginner and I have no idea what I'm doing. Following lot's of different tutorials, I want to create a road spline in unreal engine. Therefor I created a ...
1 vote
1 answer
93 views

Is there a PBR-like material system for audio?

With visual/rendering materials, a very popular system for this is PBR. Materials made using PBR may define properties like albedo color, normal maps, emission, roughness, metallic, specular, etc. ...
0 votes
0 answers
39 views

Unreal Engine: How to edit the M_Athena_Terrain_IceBiome.M_Athena_Terrain_IceBiome material?

I'm using the snow landscape as described here: https://www.reddit.com/r/FortniteCreative/comments/12100h0/terrain_materials_uefn/ This is the full path to the material: /Script/Engine.Material'/Game/...
0 votes
1 answer
444 views

Getting the material name or index from a Blender FBX model in MonoGame

I've imported Blender FBX models in to UE4 before, so I'm aware that some of the material information is saved in the model. How do I go about accessing this in MonoGame? To be clear, I don't ...
0 votes
0 answers
75 views

Export Blender models and (procedural) material to Browser?

Given that Verge3d cannot support Volume input, or volumetric shader property in the material output node. Using WebGl 2, and possibly 3.js, is it possible for me to export my blender models and their ...
1 vote
1 answer
384 views

Generating a texture and applying it to an object at runtime

In Unity, I want to generate a texture and apply it to a material. The following method generates a 16x16 Texture2D and applies it. However, my object with the material shows only a gray "default&...
0 votes
1 answer
36 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 ...
0 votes
1 answer
77 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 ...
0 votes
0 answers
34 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 ...
0 votes
2 answers
588 views

Objects Imported from Blender to Unreal have really zoomed Materials

I've been learning how to use Blender for UE4. I just started figuring out how to define which sides should have materials on them. In particular, I wanted this building to have different materials ...
0 votes
1 answer
1k views

Weird squares everywhere

So in unity I have some weird squares on surfaces of certain objects, which are buildings represented by planes: I don't know what causes it, I tried changing some settings in lighting and material,...
0 votes
0 answers
41 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 ...
0 votes
0 answers
213 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 ...
1 vote
1 answer
16k views

Material changes to "material (instance)" on Start

Not sure why my materials started doing this, but when I press play, all materials on my models change to "materialName (Instance)". I use the same material for several objects, and for ...
2 votes
0 answers
95 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 ...
0 votes
0 answers
704 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 ...
0 votes
1 answer
529 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: <...
0 votes
0 answers
148 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 ...
1 vote
1 answer
2k 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 ...
0 votes
2 answers
1k 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 ...
1 vote
0 answers
124 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 ...
6 votes
2 answers
2k views

How to render glass with XNA or DirectX 9

Any good pointers on how to get the refractive look of glass? I'm looking to create a think piece of glass type of look, sort of the type that you'd have on bathroom shower doors.
0 votes
1 answer
28 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 ...
2 votes
1 answer
4k views

Change color, or material of specific line segments on Line Renderer

We're making a game that plays with a LineRenderer, and we want to give it a different visual feedback relative to the side of the screen that it's on. We want to change the feedback of the specific ...
0 votes
1 answer
256 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 ...
0 votes
1 answer
605 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 ...
0 votes
1 answer
186 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 ...
0 votes
0 answers
68 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 ...
0 votes
0 answers
433 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 ...
0 votes
1 answer
4k views

How do I properly use Unreal's Lens Distortion plugin?

I am trying to use UE's LensDistortion plugin (seems like it's bundled with the engine but only put to use in the Compositing sample project), and following the same workflow as the sample. ...
0 votes
0 answers
992 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: ...
0 votes
1 answer
139 views

Clamp UVs checkbox disappeared?

I've run into the following problem. I'm following some tutorials for shading to the exact letter. It all works except my meshes have really bad shadowing in/on them. I see the difference with the ...
0 votes
1 answer
100 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 ...
1 vote
0 answers
106 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 ...
0 votes
0 answers
150 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 ...
2 votes
1 answer
3k views

Applying texture maps from Blender to Unity material properties

When I bring my Blender file into Unity, I will attach the texture maps from my Blender material (left) to the Unity material (right) as follows: diffuse/color map --> albedo normal --> ...
0 votes
1 answer
241 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 ...
1 vote
1 answer
1k views

How do I safely change properties on my skybox?

Usually in Unity, when your scripts make changes to something at runtime, those changes are not persisted back to design-time. This is generally considered a good thing. But for whatever bizarre ...
1 vote
0 answers
583 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 ...
9 votes
5 answers
45k views

Tiling of a material, independent of its size

I am using Textures and Materials to tile my sprites, for instance when building a wall in my game. The problem with this is that everytime I resize the plane or size of my game object, I have to ...
1 vote
0 answers
115 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 ...
0 votes
1 answer
388 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 ...

1
2 3 4 5