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
1answer
27 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
7 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
52 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
19 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
0answers
14 views

Projector making the scene objects grey in Unity

Everytime I enable my projector, it makes all the overlapping elements look entirely grey. The shadows also disapear. I tryed a couple of other shaders found on the internet but the issue still ...
1
vote
1answer
40 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
2answers
353 views

All Materials are pink (Unity URP)

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
74 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
27 views

How to convert this shader from Worldspace into Localspace?

Based on this question (LINK) ...
2
votes
1answer
89 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, ...
0
votes
0answers
9 views

(Unity) How to show a texture on a model at a specific Pixels Per Unit?

I'd like to use flat 3D models alongside pixel art sprites, but I have no idea how to make the textures applied to these models have the same Pixels Per Units as the sprites. How can I achieve this ...
1
vote
1answer
216 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
82 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
40 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
21 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
22 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
32 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
0answers
52 views

UE4 - Render grid decal per pixel on GPU or all at once on CPU?

Using UE4 version 4.25.3, I am trying to project a 2D cartesian grid onto a landscape. The grid is currently just a series of black-bordered squares, but I am planning on adding an abundance of color ...
0
votes
1answer
32 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 ...
0
votes
0answers
117 views

How to get a list of parameters from a material in UE4?

TLDR: how to access the parameters of a given material/material instance in BP and/or C++. I would like to expose material parameters to the UI so the player can edit material instances at runtime(i.e....
-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
241 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
77 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
41 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
1answer
56 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
46 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: ...
0
votes
0answers
122 views

Unity: GPU Instancing with different textures?

I'm making use of Unity's GPU Instancing in my 2D game and it really reduces draw calls significantly when using the same Material and same sprite (texture) on all ...
0
votes
1answer
386 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
1answer
22 views

what are texcoord tags in mesh.xml file in Ogrexml format?

I exported a 3d model from blender 2.79 and using ogrexml import/export plugin. but the texture will crash and UV map not working in that format. I made the model by four parts head-body-hands-shoes ...
0
votes
1answer
59 views

Apply Secondary Normal Map to Standard Shader by Script

I have a material with an existing normal map. I added a secondary normal map to represent damage via script. I assign to the appropriate texture property ...
0
votes
1answer
25 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 ...
1
vote
1answer
47 views

Efficiently rendering lots of the same mesh in Unity3D, but with different colors?

I'm working on a tile based game, where grass is spreading from tile to tile, so soon lots of grass appear on the board. Instancing is on, so the FPS is kind of good, even with 300k triangles (1 ...
0
votes
0answers
21 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
23 views

Unity shader to pick 1 of 2 base colors for individual instances (picture)

I am building this scene in 3D using Unity 2019.3.13's Universal Render Pipeline. I have a block prefab that I want to instance, but I want to choose which are yellow and which are blue (you can see ...
1
vote
0answers
88 views

How do we export blender material with shaders and blender texture to unity?

I've blender model, it has noise texture and glossy shaders, when I import it to unity, they are not the same. I tried both cycle and Eevee render and was looking for different ways to export the fbx ...
0
votes
0answers
12 views

Do Unity bunch up similar materials automatically?

Imagine I have materialA and materialB. materialB is a direct copy of ...
0
votes
0answers
48 views

How do I colour a mesh in Kiss3d?

This is a question about the sebcrozet/kiss3d graphics engine for the Rust programming language. I have managed to create a mesh using group.add_mesh(). Now I want ...
0
votes
0answers
15 views

Automatic assignment of materials when importing FBX from Blender to Unreal

I have a model in Blender and have assigned placeholder materials to its faces. I can export it from Blender to FBX and import that to Unreal Editor fine. After I import the mesh I can assign Unreal ...
0
votes
0answers
20 views

How to stop custom normals from breaking on deform in UE4?

Can anyone clarify how companies like CyberConnect2 and Arc System Works keep their normal edited meshes looking so clean even with skeletal and morph target deforms in UE4? I get clean normals for ...
0
votes
0answers
18 views

How would I replicate a gradient opacity barrier?

I would like to implement a visual barrier to gracefully hand-wave away areas the player doesn't need to see, such as the interior of a building while a door is momentarily opened. I am trying to ...
0
votes
1answer
20 views

How Can I Separate a Mesh Into Two Separate Objects Without Corrupting UV Data?

I'm working in Blender and Unity. I downloaded my character from DeviantArt here, used Blender along with this addon to import the character's .mmd file to Blender, and saved her as a .blend file in ...
0
votes
0answers
28 views

How to center minimap texture view ue4

Hi I am trying to create a minimap for my game and I am almost there the only problem is that i want to center the view of my minimap because right now currently it's following my player like this ...
2
votes
0answers
206 views

Unity normal maps look wrong (URP, iOS)

We're building an AR-enabled app with Vuforia and Unity 2019.3, using the Universal Render Pipeline. Trouble is, on iOS our models that have normal maps in their materials look totally bad, as you ...
0
votes
0answers
14 views

Import SRP package to URP?

I updated from LWRP to URP and some asset material does not work "pinky". They told me to import SRP package to URP. I did not understand this ? How to do this step ?
0
votes
1answer
101 views

Unity Material Override Video is too dark

I have made a TV in Blender, UV Wrapped a material and applied a video on it in Unity. But the picture is too dark, and I would like to make it brighter. How could I solve this problem? The left ...
0
votes
0answers
31 views

What is the right way to access raw data from an Unreal material's output?

I am using an Unreal material not so much as a material but essentially as a compute shader for performance reasons (using the Custom nodes in a material blueprint), where I perform a bunch of per-...
0
votes
0answers
18 views

Setting and using a dynamic variable inside an Unreal material

I have an Unreal material that contains a custom node (with HLSL code) - where a condition involves comparison with a matrix of values that was computed in the previous time step. How can I create ...
0
votes
0answers
61 views

How can I sample from a normal distribution in HLSL?

I need to 'distort' individual pixels inside a compute shader node of an Unreal material. Specifically, the pseudocode for this per-pixel operation looks as follows. ...
0
votes
1answer
52 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
1answer
1k 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. ...

1
2 3 4 5