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
0 answers
12 views

Multiple materials on a single mesh and sharing them numerous times

This has probably been asked before, but I can't really find a post like this. Lets say I have about 5 meshes in total being instanced numerous times in a scene. I share about 5-6 materials among them ...
zaboombafoo's user avatar
2 votes
2 answers
84 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 ...
Konjointed's user avatar
0 votes
0 answers
12 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 ...
infinitezero's user avatar
1 vote
1 answer
89 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. ...
Aaron Franke's user avatar
0 votes
0 answers
31 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/...
No Name's user avatar
  • 101
0 votes
0 answers
58 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 ...
Francis Mike Nathan's user avatar
1 vote
1 answer
300 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&...
Wiley Rush's user avatar
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 ...
Jam's user avatar
  • 111
0 votes
1 answer
72 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
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 ...
Dekash's user avatar
  • 1
0 votes
1 answer
570 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
40 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
197 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
90 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
632 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
481 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
143 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
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 ...
Benjamin Danger Johnson's user avatar
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 ...
Zombified Taco's user avatar
1 vote
0 answers
119 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
579 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
64 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
397 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
949 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
400 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
97 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
  • 67
0 votes
0 answers
149 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
234 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
562 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,307
1 vote
0 answers
111 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
350 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
298 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
253 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
30 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.stack.imgur.com/6XkRo.gif Basically, it's a painting ...
xxhoisinxx's user avatar
-1 votes
1 answer
128 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
765 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
333 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
257 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
40 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
3k 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
27 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
97 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
242 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
185 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
2k 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
122 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
562 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
349 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