A definition of physical and/or visual characteristics of a surface, often for use with rendering software or a game engine.

learn more… | top users | synonyms

1
vote
1answer
231 views

Adding materials to a Line Renderer through code? (Unity)

I have a material that I am using to add a glowing effect to my line renderer. I can add this as a 2nd material to the line to give it a glowing effect. I want to be able to add/remove this material ...
0
votes
1answer
86 views

Unity how to change material properties at runtime

I'm working on a unity game where I want to change the color of a material from within a script. The material applies to a line renderer. I currently have the following script: using UnityEngine; ...
1
vote
0answers
50 views

Sprite outline based on light position in UE4

I have simple sprite (for example black box) and I like to add to it outline (red line on example image) but based on light direction. I know UE4 use deffered renderer, so I cant access to lights, but ...
-1
votes
0answers
38 views

Unity Change GameObjects Color C#

Hi so I am currently messing around with changing a game objects color, and I found this code online to do it.. pickedNumber.gameObject.renderer.material.color = new Color(255, 0, 0, 100); But I ...