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

Access the Sequencer's current frame number in Material Editor

Is it possible to access the current frame that the sequencer is on? I want to use it instead of the "Time" node in the Material Editor. I need to create a foliage wind effect that loops at ...
1
vote
0answers
16 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
0answers
15 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 ...
0
votes
1answer
31 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
0answers
81 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 ...
1
vote
0answers
63 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
1answer
32 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
vote
0answers
67 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 ...
0
votes
1answer
16 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.
0
votes
0answers
9 views

Is there a way to find out what meshes are supposed to be combined in Assimp?

I'm working on my assimp loader. I know that it has a separate mesh per material. Before I used to simply combine all of them upon import. Now, I want to figure out which meshes are from multi-...
1
vote
0answers
13 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 ...
-1
votes
1answer
71 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.
0
votes
0answers
105 views

Bizarre Viewport bug in Maya 2018

I can't Google for this sort of thing because it's a very difficult error to describe, so asking it here is my last resort. I have to use Autodesk Maya 2019 for the game I am working on, along with ...
0
votes
1answer
81 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
0answers
43 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 ...
0
votes
1answer
36 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 ...
0
votes
0answers
34 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 ...
0
votes
0answers
78 views

I cannot use TextureSample with custom HLSL gaussian blur function

I am relatively new in HLSL, I am trying to implement gaussian blur for my new dynamic shadow material project. I can input Texture Object, but not TextureSample, and getting an error, Is there is any ...
0
votes
1answer
87 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 ...
0
votes
0answers
25 views

Unreal Engine 4- Post Processing material isnt working on different viewports except perspective

I would like to render a silhouette of models, I found stencil would be the best way to capture. But when I am working with stencil post-process material its does not work with other viewports except ...
0
votes
0answers
15 views

Panner Node (Planet Material Day/Night Map)

I made an Earth material that rotates and shows day and night by combining different maps and masks (Similar to these set ups https://youtu.be/FMU1FkHFHXk AND https://youtu.be/ugXWt6AmudY). The logic ...
0
votes
1answer
20 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 ...
0
votes
1answer
79 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
1answer
22 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 ...
0
votes
1answer
57 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
1answer
79 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
0answers
484 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 ...
0
votes
2answers
202 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 ...
0
votes
1answer
47 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? ...
0
votes
0answers
8 views

- 2 Parts: Object/Material displays at 90degrees + Material Mask will not rotate with object?

Hi I have a 2 part issue. Part 1: I have a planet in Unreal, in the object editor it is aligned properly and the material displays correctly but in the game even with the rotation set to 0 it displays ...
2
votes
0answers
169 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-...
0
votes
1answer
46 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 ...
1
vote
1answer
53 views

Why does my material look blotchy on this mesh?

This is a generative mesh - wireframe looks like this Here's the material But the shaded object looks like a tie dye tshirt I've no idea what settings are causing it to look like this. These are ...
0
votes
4answers
4k 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
0answers
500 views

What exactly are smart material packs on Quixel Mixer?

Not sure if this is a good spot to ask this, but I'm using this for Unreal, so I figure it probably is? If not, please comment instead of downvoting. When prompted to select the packs I wanted on the ...
0
votes
0answers
31 views

How to convert this shader from Worldspace into Localspace?

Based on this question (LINK) ...
2
votes
1answer
559 views

How do I add materials to a glTF model in Godot Engine?

I'm using glTF Embedded files because I was told they are the best files to use with Godot, so I got a pack of a bunch of really lovely trees and other things to use in my game. But when I import it, ...
1
vote
1answer
748 views

How can I incorporate subsurface scattering into a custom shader graph?

I'm working on some 3D grass in Unity with HDRP (the grass is not a 2D asset on a plane, it's a mesh). I did a shader to make it move following a tutorial, it works great. I would like to add ...
0
votes
0answers
338 views

Load Material from file path or parse .mat file to Material - Unity

Is it possible to load a material from a file path? Or, otherwise parse a .mat file saved on disk to a Material usable at runtime? I had naively thought it would be possible to assign the bytes from a ...
1
vote
1answer
75 views

Programmatically extract textures from an arbitrary material

How do you programmatically extract the textures and other properties of an arbitrary Unity material? Ideally runtime - I'm trying to upload the data to the server for remote access.
0
votes
0answers
53 views

Unity: Texture glitches on Build

I'm getting the most horrible glitches on multiple materials and objects. In the Unity Editor everything is fine. When building individual scenes alone it is fine. But when I build all the scenes ...
0
votes
0answers
104 views

Rendering Mode transparent is not applying in webgl build

I am using this method to convert opaque rendering mode to transparent. ...
0
votes
1answer
34 views

How to make one material on object with many parts inside?

I have a weapon witch have many parts, it also have many materials. Do I really need to make it like that? It's like about 8 mats! :(
0
votes
1answer
36 views

Object turns white

Any idea why this character turns white in Game window with Play button on and off? The character is fine when the animations are not present but the file with the animations shows the character as ...
-1
votes
1answer
12 views

How do i change the material of a object separate from the script [closed]

I just need to know how to change the material of an object from another's script so that I don't have to make a script in the other object and change the material from their.
0
votes
1answer
1k 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 --> ...
1
vote
1answer
228 views

Draw calls in Unity 3d [closed]

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
50 views

Material looks different on programatically generated mesh compared to resized default cube mesh

I've written some code that generates a mesh from some 2D nodes, generating both triangles and vertices. It seems to have worked pretty well, since I get a solid mesh without any weird rendering ...
0
votes
2answers
217 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
1answer
167 views

How do I get current emission intensity of a material in code?

I'm unable to find how can I get current intensity level of emission in Unity. Is there some kind of method that can return its value? I need it to complete my algorithm's formula: ...

1
2 3 4 5