diff --git a/Assets/Scripts/TransferFunction/TransferFunction.cs b/Assets/Scripts/TransferFunction/TransferFunction.cs index b3fab0ef..e3776cc2 100644 --- a/Assets/Scripts/TransferFunction/TransferFunction.cs +++ b/Assets/Scripts/TransferFunction/TransferFunction.cs @@ -12,7 +12,7 @@ public class TransferFunction : ScriptableObject [SerializeField] public List alphaControlPoints = new List(); - private Texture2D texture = null; + protected Texture2D texture = null; private Color[] tfCols; private const int TEXTURE_WIDTH = 1024; diff --git a/CREDITS.md b/CREDITS.md index 20c6ae7c..bf2a17f9 100644 --- a/CREDITS.md +++ b/CREDITS.md @@ -20,5 +20,7 @@ Async loading Modified shader to handle stereo rendering. - [Juan Pablo Montoya](https://github.com/JuanPabloMontoya271) Overlay Segmentations - initial implementation +- [Vijay Kalivarapu](https://github.com/kvijaykiran) +Texture2D variable in TransferFunction changed to protected - to allow for custom texture creation Feel free to add yourself to this list when contributing to this project.