Skip to content

100 Days of Shaders and Textures

An Independent Study

Menu
  • Home
  • Featured
  • About
  • Resources
  • Etc.
Search

Day 86

by Hope MoorePosted onAugust 4, 2020August 19, 2020
View this post on Instagram

Day 86: Attempt at Updating Gradients This one made me angry. I wanted to try to update gradients through scripting in Unity and thought I figured it out. I wanted to use the particle system that uses gradients in many modules. It didn't work. I looked it up and Unity documentation said I did it correctly and showed a second way – that didn't work because what they claim is read/write is showing as read only in the editor. Looked it up and several stack overflow suggestions involved Color.Lerp() which has a similar effect, but not the same. So what you see here is Color.Lerp() that changes the main colors with a keypress that slowly goes from one color to another as the particle system runs. #100daysofshadersandtextures #100daychallenge #100daysproject #100dayschallenge #100dayproject #Unity3d #unity #particles #particlesystem #csharp #creativecoding #learningprocess

A post shared by Hope Moore (@hopemoore27) on Aug 4, 2020 at 7:58pm PDT


Download the Unity Project File


Resources:
Unity

Posted in C#, Unity 3DTagged C#, Color.Lerp(), CSharp, Gradients, Particle Systems, TouchDesigner, Unity, Unity 3D

Published by Hope Moore

View all posts by Hope Moore

Post navigation

Prev Day 85
Next Day 87

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • Day 100
  • Day 99
  • Day 98
  • Day 97
  • Day 96

Recent Comments

    Archives

    • August 2020
    • July 2020
    • June 2020
    • May 2020

    Categories

    • Arduino
    • Autodesk Maya
    • C#
    • Dreams
    • Featured Posts
    • GLSL
    • HLSL
    • JavaScript
    • Microsoft Kinect
    • Muse Headband
    • Processing
    • Python
    • Shader Graph
    • ShaderToy
    • Substance Alchemist
    • Substance Designer
    • Substance Painter
    • Three.js
    • TouchDesigner
    • Unity 3D
    • Unreal Engine

    Meta

    • Log in
    • Entries feed
    • Comments feed
    • WordPress.org
    © Copyright 2022 – 100 Days of Shaders and Textures
    Anther Theme by DesignOrbital ⋅ Powered by WordPress