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
8 votes
5 answers
36k views

Tiling of a material, independent of its size

I am using Textures and Materials to tile my sprites, for instance when building a wall in my game. The problem with this is that everytime I resize the plane or size of my game object, I have to ...
user avatar
4 votes
1 answer
807 views

Unwanted highlight on far side of objects near the edges of the screen when using orthographic camera

I was creating a simple unity game with a sphere as a ball. The problem is that the ball face towards the camera origin renders material correctly but the one away from camera does not. The ball has ...
user avatar
  • 63
2 votes
1 answer
4k views

Change color, or material of specific line segments on Line Renderer

We're making a game that plays with a LineRenderer, and we want to give it a different visual feedback relative to the side of the screen that it's on. We want to change the feedback of the specific ...
user avatar
2 votes
1 answer
2k 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, ...
user avatar
0 votes
1 answer
3k 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. ...
user avatar
5 votes
4 answers
14k views

Why do I get a blank material in Unreal Engine 4?

When I'm adding a material to a box in UE4, the material loses its textures. I want to add this material To this After I'm trying to drag & drop the material into the scene above (like in UDK) ...
user avatar
0 votes
1 answer
5k views

How to have random and different colors on multiple objects with one material?

I want to have one material applied to multiple objects that has a random color on each object. How can I achieve this so that I don't need to use a different material for every object? This is in ...
user avatar
  • 2,729
0 votes
1 answer
609 views

Sprite disappears after adding a material to it

I have background which is FirsLayer, order in layer 0 and platform over it which is FirstLayer, order in layer 1. Once I add a material to the platform, the layer doesn't seem to change but it gets ...
user avatar
  • 367