You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
HDRP shader graphs for creating pixel-style graphics in 3D.
16
+
HDRP shader graphs for creating pixel-style graphics in Unity 3D.
17
17
18
18
## Features:
19
19
@@ -31,6 +31,22 @@ Meshes with UVs optimized for pixel rendering.
31
31
* Sphere
32
32
* Dome
33
33
34
+
## Getting Started:
35
+
36
+
1. Import the package.
37
+
2. Import the demo scene found under the samples section in the package manager. (this will include the meshes).
38
+
39
+
Other things you may wish to do for a pixel-style project is to add an Import preset so imported textures have their import setting automatically set to:
40
+
* Max size set to "32".
41
+
* Filter Mode set to "Point (no filter)".
42
+
* Compression set to "none".
43
+
This will save a lot of time messing with the import settings.
44
+
45
+
It is also good to note that for 16x16 textures that one pixel in world units scale is `0.0625` and that magic number helps when snapping scale values acheive a uniform look.
46
+
47
+
It should also be noted that although primitive meshes such as the ramp, dome and sphere have UVs optimized for pixel perfect rendering there is geometric limitations that will still result in stretching. It is best to keep those meshes scaled uniformly, however checking `sloped surface` in the triplanar shader's material properties may help with some cases.
48
+
49
+
Also if you notice textures are not tiling then try using material instancing instead of static batching.
0 commit comments