# NTexturePreview **Repository Path**: eloncode/NTexturePreview ## Basic Information - **Project Name**: NTexturePreview - **Description**: Enhanced Texture Previewer for Unity - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-11-09 - **Last Updated**: 2021-03-30 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # NTexturePreview Enhanced Texture Previewer for Unity **Currently Unity 2018.3+** ### Advancements - RGB Toggles (CTRL+CLICK for Single-Channel) - Zooming & Panning - Zoom Resets - Matching Filter Mode (default preview is always Point-filtered) - Normal Map Diffuse Preview (Right-Mouse, Right-Mouse+Scroll) - Colour Picking (Hold Right-Mouse, Left-Click during to copy as hex. Double-Click to copy as code. CTRL-C and CTRL-SHIFT-C whilst picking are analogous) - Continuous Repaint button - Sprite pinging for sliced sprites (double-click) ![gif](http://vertx.xyz/Images/NTexturePreview/2dTexturePreview2.gif) ![gif](http://vertx.xyz/Images/NTexturePreview/NormalMapPreview2.gif) ### 3D Materials #### Default Material - Cube preview (default was sphere) - XYZ Axis Preview Sliders ![gif](http://vertx.xyz/Images/NTexturePreview/3dTexturePreview4.gif) #### Overrides You can override the Material used for the 3D Texture Preview. This is done by inheriting from N3DTexturePreview.I3DMaterialOverride. An example is provided at NTexturePreview/Examples/Custom 3D/Editor/N3DTexturePreviewExample.cs. The file specifically operates on Texture3D assets named "3DTexturePreviewExample", but a method of your own might perform any logic to provide a custom preview material. ![gif](http://vertx.xyz/Images/NTexturePreview/3dTexturePreview2.gif) ## Installation Ensure your project is on .NET 4.x by navigating to Edit>Project Settings>Player>Configuration>Scripting Runtime Version and switching to .NET 4.x Equivalent. Edit your `manifest.json` file to contain: `"com.vertx.ntexturepreview": "https://github.com/vertxxyz/NTexturePreview.git",` Or pull the project locally and use the Package Manager (Window>Package Manager), adding the package.json file present in the root of the folder with the `+` button.