May
23
2019

Scrolling Texture Plotter using CustomRenderTexture

Saw interesting question in the forums (link) about drawing plotter like data that would scroll up, got idea about custom rendertextures (since it was similar to this effect)

Basic idea:
– use CustomRenderTexture, double buffered so it can read from itself
– draw color32 array into texture2D
– use that texture2D in your CustomRenderTexture as the bottom pixel row
– CustomRenderTexture keeps scrolling up by reading 1 pixel below

Scrolling Perlin Noise Colors (bottom 1 pixel row comes from the Texture2D)

Project sources:
https://github.com/unitycoder/ScrollingTexturePlotter


Leave a comment

Connect

Twitter View LinkedIn profile Youtube Github Join Discord Twitch Instagram BlueSky

UnityLauncherPro

Get UnityLauncherPRO and work faster with Unity Projects!
*free unity hub alternative

@unitycoder_com

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.