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
16 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
33 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
32 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
21 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
57 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
28 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
30 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
43 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
102 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
38 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
16 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
30 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
30 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
63 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
25 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
13 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
18 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
72 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
30 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
28 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
161 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
48 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
52 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 2019 Extremely Reflective Foliage

I've been working on a project involving a lot of foliage and I needed translucency so I upgraded to the latest unity beta to get access to the new features and the HDRP (which is still available on ...
0
votes
0answers
54 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
224 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
23 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
28 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
257 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 ...
0
votes
1answer
171 views

How to download material files (including shaders) from external source on runtime?

My game has a lot of different materials, shaders and textures. When a bunch of players are dropped into the same game, I want those assets to be loaded from an external source instead of being built ...
1
vote
0answers
169 views

How can I blend meshes together where they intersect?

In a lot of my scenes I have things like this: and this: All the places I've circled are places where a prefab overlaps with another one or with the terrain. Is there any way to make those lines ...
0
votes
2answers
74 views

Sprite brighter than texture

I have imported a new texture into UE, and have created a new sprite. I have setup the material of the sprite as follows: I have also set my texture as texture-parameter. But my sprite renders ...
0
votes
1answer
179 views

Draw a sphere with a custom material from script

How can I spawn or draw a sphere with a custom material with a script? So far I've tried using Gizmos.DrawSphere, but I can't find a way to control the material used to draw it. I would like to draw ...
0
votes
1answer
295 views

Unity run-time creating material has performance impact?

Just found creating a material in a script for the first time would have performance impact. (Using Unity 5.6.5f) A very simple script for testing is to create a game object with MeshRenderer in ...
1
vote
1answer
173 views

Unity: How do I only show parts of objects that overlap [2D]

I'm working on a 2D Unity project where the player can only see objects in their field of view. I have successfully created a mesh that overlaps anything that would be in the player's field of view, ...
0
votes
0answers
31 views

Unreal Expose Terrain Layers via a blueprint

I have the below play area and I have 4 terrain materials defined in a material and attached to the terrain. What I want to achieve is a way to use a blueprint to expose the pathway layer through the ...
1
vote
0answers
26 views

Emissive material from white texture

I have texture with black and white shapes. I would like that white parts are emissive and black parts are transparent/glass. How to make such material ?
2
votes
1answer
134 views

Blender to Unreal Material workflow…?

I'm new to game development and the Unreal Engine and I have a general question. I model my objects in Blender and import them into Unreal Engine. My question is, is it better to create and apply ...
0
votes
1answer
871 views

How to do “realistic” plastic material?

How can i do "realistic" plastic material in Unity 3d , using standard shader or other shader ? Can you suggest me options ? Thanks
0
votes
1answer
176 views

Emit particles from only some parts of a mesh

I have a 3D mesh with 3 sub meshes in it, for 3 different materials. I would like particles to spawn from the mesh, but only from location where one of the material is assigned. How can I make this ...
3
votes
1answer
348 views

Show Unity Line Renderer as 3d cable or wire

I am dynamically making a line renderer which is pull by the character to show that a character is pulling a wire. The line renderer working fine but unfortunately its display is not according to my ...
1
vote
1answer
106 views

Renderer.material assignment not working [closed]

I have a fairly simple question: I am trying to change an object's material via code with the line rend.material = NewMat; where ...
1
vote
1answer
554 views

How to target specific material with Unity VideoPlayer?

I've modeled the following tv-monitor: This monitor has two materials. The "frame" that makes up the monitor, called MonitorFrameMaterial and the black screen ...
1
vote
1answer
180 views

Create lamp shade material

How would one go about creating a lamp shade material that lets light through from a light inside the object. I have read that turning of shadow casting for that object should work, however I have ...
1
vote
1answer
553 views

How can I properly add material textures to my model?

This is the first time I'm doing game development and I decided to pick Godot engine. I downloaded some object on the internet for my initiation learning. There are four files: throp_srub.obj ...
1
vote
1answer
230 views

How to make a prefab of a blood effect using provided shader/materials in 2D?

I want to create a blood splat effect as shown in this link: https://gfycat.com/CharmingThickFlies The developer was nice enough to leave the source explain how to apply this. But I cant seem to ...
3
votes
1answer
706 views

How can I make Iridescence material In unity?

One of the characters of the Dota2 that Is called Nyx Assassin has an interesting material effect If you look at the body and feet you can see this effect.It looks like poily/polluted water.I like to ...
0
votes
1answer
498 views

Creating paralax background in Unity3D

I am trying to create some parallax background in Unity in 2D mode by tweaking offset of the background material and using tiling. I used this tutorial https://www.youtube.com/watch?v=nGw_UBJQPDY as a ...
0
votes
1answer
135 views

Spine and 2D Unity Weird Light Issue

While using spine in unity 2D with a spot light, the light from the spot light will shine on the character if he's facing right but only when the light is in front (in the Z direction) of the ...
0
votes
1answer
595 views

How to stop and start sprite sheet flipbook materials in a widget blueprint?

I have a flipbook material I created from a sprite sheet to add some fireworks to a game I'm working on. I have the material set up and it is showing the animation of the firework like it should. ...