add some shadergraph viz
This commit is contained in:
1 parent
05c9ef9246
commit
b78f1bd6cb
60 files changed
+20039
-4727
No files matched your search
@@ -8,7 +8,6 @@ public class CubeController : TripsitterAve {
|
||||
|
||||
public float minSize = 2;
|
||||
public float maxSize = 4;
|
||||
public Material cubeMat;
|
||||
public Material cubeMatLit;
|
||||
|
||||
private Texture2D texture;
|
||||
@@ -42,7 +41,7 @@ public class CubeController : TripsitterAve {
|
||||
texture.SetPixels(colourCache);
|
||||
texture.Apply();
|
||||
|
||||
cubeMat.SetTexture("_AudioTexture", texture);
|
||||
cubeMatLit.SetTexture("_AudioTexture", texture);
|
||||
}
|
||||
|
||||
// bool IsLeft(GameObject cube) {
|
||||
|
||||
Reference in new issue
Block a user