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
16 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 ...
0
votes
0answers
16 views

Unity: on iOS, materials with normal maps look totally wrong

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
9 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
11 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
20 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
14 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
26 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
16 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
57 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
vote
0answers
103 views

After a postprocess effect, can I output a list of all non-zero pixel locations without having to save the entire image?

I am trying to simulate what's known as an 'event camera' in Unreal. Unlike conventional cameras that output full frames, event cameras return the locations of pixels where activity is detected - see ...
0
votes
2answers
69 views

What game objects can have a “material”?

In Unity, I created an empty GameObject called "Person". I created some child objects to it, such as "head" (a sphere), "body" (a capsule), "leg" (a box), etc. Then, I wanted to change the person's ...
0
votes
0answers
24 views

Can I “subtract” the current image from a previous one inside a UE material?

In Unreal Engine, I am trying to create an effect that essentially involves the following operation: If I have an image at time instant t, I want to compute the per-pixel difference between that image ...
0
votes
0answers
11 views

Unity Animated Materials Won't Preview

I'm looking for help 'cause I just got into this issue with Unity 2019.2.8f1 and I don't know how (if possible) to fix it. I probably should mention that I upgraded this project from Unity 2019.1.0f2 ...
0
votes
1answer
28 views

Simulate Unlit Shader using Physically Base Material Shader

Is there a way to have a physically based material shader look like an unlit shader? Note: this question is not unity specific. I am trying to understand in general if it is possible to maybe(?) set ...
1
vote
0answers
110 views

UE4 - UProceduralMeshComponent - texturing issues

I am having a lot of trouble texturing a procedural mesh in UE4. I am using perlin noise from Accidental Noise Library with PolyVox to generate randomized marching cube terrain. Accidental Noise ...
0
votes
0answers
75 views

Unity 3D - Materials are Stretching and Tiling doesn't Help

I am a programming student working with Unity 3D, version 2018.4.6f1 for this class. I wanted to add some materials to my wall, however, this results in a rather ugly result, because my walls are of ...
0
votes
0answers
18 views

Blender-Unity (+ Lightmaps): Can I (should I?) have multiple UV maps for a single mesh?

I am making a game that I worry is not running optimally due to lots of high-res textures. The irony is that most scene assets use the same materials but I have to (do I?) unwrap the entire mesh on a ...
-1
votes
1answer
43 views

What goes into a realistic wood material?

Aside from getting a wood texture to use for albedo, what goes into a realistic wood material? For example, in Unity, there are settings such as Metallic and Smoothness, and different shader types ...
0
votes
0answers
15 views

Material becomes undefined when I create a prefab in Unity

I have a parent GameObject and nested models in it. When I create a prefab, I lose contact with the material in some parts of the model. Why is this happening? And how to avoid this? Object Hierarchy:...
1
vote
0answers
36 views

How to make a Material that looks like a sun

I am trying to understand material and shaders in Unity. I would like to make a material to attach to a sphere, and make it emit light like a sun. For the moment I do not care if it's not looking ...
0
votes
1answer
24 views

How to access random material in a renderer besides first without cloning any materials except accessed one?

Clones only first material: renderer.material Clones all materials in the same renderer: renderer.materials[0]
2
votes
2answers
291 views

How to Convert Sprite into Texture

I Have image with a sprite and i want to change this image sprite to Texture so that I can assign it to the material And i don't want to keep multiple copies for each image as a sprite and texture. ...
0
votes
1answer
62 views

Draw textured circle / 2D shape in SceneKit

I have the following code to create a circle Path and a SCNShape from this path. orbit_gradient.png is a horizontal 1px high image that represents a gradient. ...
0
votes
1answer
178 views

Why does changing Texture of Particle System using Material Property Block changes texture, but Particle System is still emitting old texture?

I try the code in Start, checking in Editor shows new texture, but Particle System still emits old texture. The script works for SpriteRenderer, but not ParticleSystem. I tried to Play/Stop emission - ...
-1
votes
1answer
51 views

Material in particle system is not showing in dark area

I am working on a muzzle flash with particle system where when the user fires the gun the material in the particle system will appear. The problem is that is shows really well in light but when the ...
0
votes
0answers
74 views

Asset with blinking lights/buttons for Unity?

I'm working on a number of assets that will have blinking lights on them. I'm trying to determine how best to set these up for use in Unity. For example, if I have a control panel with light-up ...
0
votes
2answers
191 views

How to make a texture appear the same way in a cube?

My problem seems so simple, that before asking the question here I did a search on google and this site: https://forums.unrealengine.com/development-discussion/content-creation/33665-applying-and-...
1
vote
1answer
32 views

How to set keys for emission on/off for a prefab?

I am making a prototype for a Mario game and am having difficulty completing a canned animation for a prefab. There is an item box asset that has 3 materials and an "ItemGet" animation. One of these ...
0
votes
1answer
51 views

how to make UI material ignore scene lighting, have same brightness as albedo?

I have a material on a quad surface object that is parented to a canvas for a pause menu. The material is animated (materials on UI elements such as canvases cannot be animated because of [reasons], ...
0
votes
2answers
83 views

How to reference a GameObject from the Scene Hierarchy in C#?

I am a novice in Unity. I have a Game Object named 'courtsuit'; you can see it in my Scene Hierarchy panel here: I added that object instance to my scene by dragging an OBJ file from my Project ...
1
vote
1answer
1k views

How can I update my materials to work with LWRP?

I'm using Unity 2019.1.6f1. When I open a new scene with the LWRP template project, I see errors from all materials in the scene. For example, the Jigsaw appears in my scene but in console window I ...
0
votes
1answer
41 views

How can I change a materials properties in my Unity c# code?

Hello everyone I want to change my materials tiling offset in code, but the only way I found to access it other than drag-dropping to a public field in inspector is to check by name. But I then ...
0
votes
0answers
72 views

UV mapping a playing card in Maya for use in Unity (using a SpriteSheet of all the playing cards). One Material or Two?

I am wanting to make a pack of cards in Unity and Maya. I am familiar with UV unwrapping in Maya, but I never used sprite sheet for my models i unwrapped. (They all just fit onto one texture so far). ...
2
votes
1answer
51 views

How to add material to a blueprint created?

My project has a cube and a capsule. Below you can see an inserted cube of the modes tab. Beside a capsule inserted from a blueprint created by me: I can drag the material I created and use it in ...
1
vote
1answer
36 views

How to use alpha channel with emission?

I am trying to assemble scene assets and one asset needs an emission material where only the white part emits light: I set up a texture with a simple (air-quotes) "mask" for the window... ...and ...
0
votes
1answer
90 views

Black and white textures load as turquoise?

I have some black and white, and some grayscale textures, that are loading in unity as turquoise and white textures. What is causing this and how can I fix this? Also, can somebody verify that I am ...
0
votes
1answer
31 views

Blender Cycles materials not showing in Second Life

I ran into a problem after trying to import my own creation into second life. While I am not new to 3D modelling with Blender and other programs, I have always only created things for fun. Now I have ...
0
votes
0answers
14 views

Unity - importing Blender materials

Could someone help me understand something? I'm a bit confused as to why Unity doesn't import simple coloured materials over from a .blend file. If I select my character model that I've brought into ...
0
votes
0answers
22 views

Mesh Rendere and Materia “Sprites/Diffuse”

I'm trying to create a 2d scene with lighting. The system works by applying a material Sprites/Diffuse to the Sprite Renderers ...
0
votes
0answers
146 views

Textures go black when changing Quality Settings at runtime

Whenever I change my Quality Settings at runtime in editor mode or in build, all of my textures turn black. I use the following line to change the quality settings : ...
0
votes
0answers
44 views

Drawing a helix effect in Unreal

i want to draw/graph an equation(like sinusoidal signal or any parametric equation) in UE4. I don't know if that is possible. I looked for it but found almost nothing. here is what i found most ...
1
vote
0answers
39 views

Material slot is reversed in unity when importing .blend file?

I'm importing .blend file into unity. The file contains 9 separate objects. Now all objects have the same 2 materials assigned. When importing in unity one object's material slot is reversed. But in ...
0
votes
1answer
260 views

Unity HDRP Testing - Scene View Issues / Lighting / Shaders / Shadows

Yo Guys. Makings this dope, GlassChess Game, Wanted to try out the new HDPR in unity 2018, add the package and volia, its working. (done all settings) So I used custom glass shader before trying out ...
1
vote
0answers
50 views

Whats the least expensive way to play video in unity?

Alright, Ive asked this various ways but my situation is I have several (over 100) objects that have screens that need to play animated videos on them. There does not need to be sound, but this is for ...
1
vote
0answers
100 views

What are AO / NM / D / SG texture name equivalents in Unity

I'm not a modeler and i don't know how to match each texture with the requested ones by the material. In one side i got unity: And in the other, this model textures: The only references that i ...
0
votes
0answers
55 views

Unity: how to mimic the lighting of a mesh as seen in the editor view

I have a camera which shows a "bird's eye view" of a procedurally generated mesh like so: Currently in the editor view (right), the terrain looks exactly as I would like it to. However, in game (left)...
0
votes
1answer
653 views

how to set multiple materials using array in the submesh of an object

I'm trying to insert multiple materials into the object's submesh using the array, but I'm not getting public GameObject[] obj; ...
0
votes
0answers
31 views

Easily get several materials from different objects onto 1 UV map/material?

Im trying to improve performance, and I found an asset called https://forum.unity.com/threads/one-batch-combine-hundreds-of-materials-into-one-draw-call.555643/ that claims to do what I need - which ...
0
votes
1answer
30 views

Creating materials in modeling program vs in Unity: when to do either?

This is something I should know the answer to by now, so I'm asking to clear up the gaps in my knowledge: As I (re)learn about shaders, specifically in relation to Unity, I see all sorts of ways to ...
2
votes
1answer
338 views

Recreating Common “Glowing Pillar” Effect in UE4

I've noticed a common "glowing pillar beacon" effect in a few games lately (Overwatch, Fortnite, etc). The effect provides a translucent glowing beam pointing upwards that tapers off towards the top ...