Skip to content

Instantly share code, notes, and snippets.

View TobiTobascoNollero's full-sized avatar

Tobi Tobasco Nollero TobiTobascoNollero

View GitHub Profile
@TobiTobascoNollero
TobiTobascoNollero / M_Holographic
Last active April 6, 2017 08:31
Unreal Engine 4 - Holographic Material
Begin Object Class=MaterialGraphNode_Root Name="MaterialGraphNode_Root_2"
Material=PreviewMaterial'/Engine/Transient.PreviewMaterial_0'
NodeGuid=295639F942054985ADEB2A8B299BB450
CustomProperties Pin (PinId=91A403B341F874C53B5211929B6B0D74,PinName="Base Color",PinType.PinCategory="materialinput",PinType.PinSubCategory="5",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.bIsMap=False,PinType.bIsSet=False,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,LinkedTo=(MaterialGraphNode_111 90CBEE9C42D63AE0971D829D0C5072A5,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,)
CustomProperties Pin (PinId=E4C0666F4C84B2ACA6C0B7804D8B98A8,PinName="Metallic",PinType.PinCategory="materialinput",PinType.PinSubCategory="6",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference
@TobiTobascoNollero
TobiTobascoNollero / M_FX_Premultiply_GradientMapping
Last active May 23, 2017 08:17
Unreal Engine 4 - Particle Material with Gradient Mapping
Begin Object Class=MaterialGraphNode_Root Name="MaterialGraphNode_Root_1"
Material=PreviewMaterial'/Engine/Transient.M_FX_Premultiply_GradientMapping_NoMF'
NodePosX=912
NodePosY=16
NodeGuid=28048E6D4D26D02C1FA33DBC2F0C845B
CustomProperties Pin (PinId=9DEAA045477299AC353ACA88A0479768,PinName="Base Color",PinType.PinCategory="materialinput",PinType.PinSubCategory="5",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.bIsMap=False,PinType.bIsSet=False,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,)
CustomProperties Pin (PinId=536C21C94384EDBC42431BA073DB670C,PinName="Metallic",PinType.PinCategory="materialinput",PinType.PinSubCategory="6",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinV
@TobiTobascoNollero
TobiTobascoNollero / UIParticleScaler.cs
Last active April 19, 2021 22:14
Unity - Particle Scaling for Particles inside the Unity GUI
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using UnityEngine.UI;
/* UI Particle Scaling script by Tobi Tobasco Nollero, questions: tobias@lostmountaingames.com, http://tobiasnoller.com/
* Just drag this script on any canvas which has child particle systems underneath.
* Add your resolution change listener to scale your particles when changing resolutions.
* Prewarmed particle system emitting on begin play, will probably not be affected by the script the first time they fire.
* Feel free to use this script in any project.