Hey guys,
A friend and I are working on an environment project for school. The project is based on Japanese Edo architecture which makes use of paper amongst other materials in their buildings. I want to make a shader that makes it look like there's either a soft orange light shining or flickering behind the paper to help sell the idea that people live here and breathe life into the scene. I'm relatively new to shaders and have been reading through Epic's material compendium a bit but I haven't made it very far yet. Can anybody help me figure out how to construct a decent looking shader to accomplish this?
Thanks so much!
Ace
Replies
This creates two "waves" with different speeds for the X and Y coordinates which will pick a random pixel from the 32x32 image. Multiplying the result with a small number causes the difference in the values to be smaller. Then you can just add this to an orange colour, something like (0.1, 0.05, 0) and plug that in to the emissive.
You can also use sine waves to get a smoother transition from one color to another and multiply the time inputs to make the transitions faster/slower.