Skip to content

Instantly share code, notes, and snippets.

@roydejong
roydejong / progrids-install.md
Last active September 12, 2024 10:35
Installing ProGrids v3 in Unity 2018.3

The problem

ProGrids seems to have disappeared from the Unity Package Manager as of Unity 2018.3.

It is possible to install ProGrids v2 via the Asset Store, but it's an old and incompatible version.

The solution (new)

Per Sayama3:

In 2021, you still can use it but it's different :

  • Go to the Package Manager
@companje
companje / map.glsl
Created January 23, 2018 22:46
map() function for GLSL known from Processing & openFrameworks
float map(float value, float min1, float max1, float min2, float max2) {
return min2 + (value - min1) * (max2 - min2) / (max1 - min1);
}