top of page
Search

Procedural Led signs material network

  • Writer: manmohan manoj
    manmohan manoj
  • Sep 3, 2022
  • 2 min read

Updated: Feb 10, 2023




While creating a led sign I faced an issue. I either get LEDs that are half-lit while panning or I have to make a blueprint and make each led an instance. The first method was not acceptable as my soul hurt each time I noticed it and the blueprint method, even though it provided a lot of control with instancing across a spline with how I wanted to place the LEDs, it was too heavy to edit.

after some looking around and walking around thinking of how UVs are. I came up with the following solution.

As I have explained in the previous post, UVs go from 0 to 1 on each axis on each sheet. when you multiply that with the amount of tiling you want. you end up with a value of UV that goes from 0 to the number of tiles you need in that access, let's call this number x. once you have 0 to x on let's say U axis, you floor that value which gives you a very grid like UV(if U value was .27 to .3 and x was 26, when U*x and floored; turn to closest lower integer, U becomes a value of 7 from .27 to .3 equivalent spots). divide that by the x value again and you end up with a UV that is 0 to 1 and a grid that is divided x times and has the same value per cell.


Connecting that up with an alpha map, you convert that map into the resolution of your grid size.



The LEDs are made of a alpha map and a normal map of a spherical shape and tiled same amount as the grid size

You can also use the led's alpha to convert it into only the LEDs to put on top of another surface.





Recent Posts

See All

Comments


bottom of page