All Projects → AlexanderOcias → Unitypixelartcamera

AlexanderOcias / Unitypixelartcamera

Easy pixel art camera rendering in Unity

Labels

Projects that are alternatives of or similar to Unitypixelartcamera

Volumetrictracer
A simple way to render soft, volumetric bullet tracers in Unity. Only needs a unit cube and a material to render and supports instancing.
Stars: ✭ 72 (-24.21%)
Mutual labels:  shaderlab
Temporalreprojectionexample
Temporal reprojection example for Unity
Stars: ✭ 82 (-13.68%)
Mutual labels:  shaderlab
Uimask
Stars: ✭ 91 (-4.21%)
Mutual labels:  shaderlab
Sugar Warrior
A game created for the first Brackeys Game Jam!
Stars: ✭ 74 (-22.11%)
Mutual labels:  shaderlab
Unityshadercheatsheet
Collection of Unity shader copypastas and gotchas
Stars: ✭ 81 (-14.74%)
Mutual labels:  shaderlab
Photosynthesizer
Unity plugin to procedurally sprout foliage throughout your scene.
Stars: ✭ 85 (-10.53%)
Mutual labels:  shaderlab
Urp Ssao
Screen Space Ambient Occlusion implementation as a RendererFeature for Universal Render Pipeline
Stars: ✭ 69 (-27.37%)
Mutual labels:  shaderlab
Dq Skinning For Unity
Stars: ✭ 93 (-2.11%)
Mutual labels:  shaderlab
Openyandere
An open-source community rewrite of the game "Yandere Simulator" in C#. 2020 july 4th update (This isn't the leak guys soz.) but you may join discord https://discord.gg/e8RNBBw
Stars: ✭ 81 (-14.74%)
Mutual labels:  shaderlab
Iridescence
Iridescence shader
Stars: ✭ 89 (-6.32%)
Mutual labels:  shaderlab
3dxrayshader unity
Surface shader. Clips a Model with given plane , applies fresnel on clipped part and highlights the cross section.
Stars: ✭ 73 (-23.16%)
Mutual labels:  shaderlab
Proceduralcity
Unity demo that uses a few tricks to build random nice-looking 3D cities
Stars: ✭ 77 (-18.95%)
Mutual labels:  shaderlab
Unityvertexcolors
Stars: ✭ 86 (-9.47%)
Mutual labels:  shaderlab
Vrc storage
assets distribution
Stars: ✭ 72 (-24.21%)
Mutual labels:  shaderlab
Unity Basic Shader
Unity Basic Shader
Stars: ✭ 93 (-2.11%)
Mutual labels:  shaderlab
Unitypointcloudviewer
Point Cloud Viewer and Tools for Unity
Stars: ✭ 71 (-25.26%)
Mutual labels:  shaderlab
Jetdogs Prefabs
Prefabs for vrchat to help creators ranging from beginners to more experienced users.
Stars: ✭ 83 (-12.63%)
Mutual labels:  shaderlab
Sigexam
Correction of a Shader Exam
Stars: ✭ 94 (-1.05%)
Mutual labels:  shaderlab
Darkandstormy
Overcast clouds with crazy colors skybox shader for Unity3d
Stars: ✭ 93 (-2.11%)
Mutual labels:  shaderlab
Shadergraph examplelibrary
A library of Shaders created using Unity's Shader Graph.
Stars: ✭ 1,273 (+1240%)
Mutual labels:  shaderlab

Unity Pixel Art Camera

Solves the key issues with pixel art rendering in Unity with no headaches.

  1. Displays sprites without distortion
  2. Enforces a consistent pixel size
  3. Conforms to a pixel grid
  4. Retains position stability while camera moves
  5. Fills the screen in a predictable way
  6. Avoids floating point precision errors

Setup

It’s super easy to get started:

  1. Put the PixelArtCamera component anywhere in your scene (I recommend on your camera)
  2. Connect the Camera and Canvas in the appropriate fields if they’re not automatically filled in.
  3. Set the resolution on the PixelArtCamera component to your preference (and match the Pixels Per Unit to your texture imports, if you haven’t left it on the default ‘100’.)
  4. Put a material using the ‘Ocias/Pixel Art Sprite’ shader on your sprites.

That’s it!

FAQs

  • Why is my font not displaying correctly?

    Make sure you configure its import settings for pixel art. Set the asset's font size to the designed value, set the rendering mode to raster, and make sure the text object uses the same font size.

  • Why is my world-space canvas not displaying correctly?

    It may not be matching your game's pixels-per-unit settings. Set the scale of your world-space canvas to (1 / Pixels-per-unit).

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].