Giter Club home page Giter Club logo

materialgate's Introduction

materialGate Packagist Packagist Packagist Packagist

An editor tool to dynamically create textures in edit and runtime modes for cool results - after getting aquainted

Update

Still works with latest Unity3d build as of 09/2019 and build back through 2017.

Current Status

matGate is fully functioning however additional features and optimizations are on the roadmap.

Key Features

  • Take any source texture or image, and make it a uniqe texture after playing around a bit :)
  • Allows for saving textures directly to Asset folder.
  • Output texture saved and applied to material
  • Add to Shader properties for awesome results
  • Pixellation, Large or Small Randomization options
  • Create animations with your textures (Thanks to https://github.com/KuboS0S/Mode7Shader)

Note

Backup your scene and project prior to use. Backup your textures or use test textures until you know how it works!!!

Texture Manipulation Examples

anim1

Texture Animation Examples

anim1

Inspector Settings Examples

anim1

Warning

If you drag a texure onto the destination texture input on the controller - it will be overridden.

  • Backup your textures or use test textures until you know how it works
  • Always use duplicates of textures just in case - not originals.
  • The source should never be overriden, but until it's clear, use backup textures

Getting Started

  • Place the Editor script in your Editor folder under Assets. Create one if it doens't exist

  • Create a mesh with a renderer, and place the controller script onto it

  • Under the controller script, drage your source texture into the source tex

  • Duplicate your source texture in your assets folder (CTRL+D, or Command+D)

  • Drag the duplicated texture onto the dest tex input on the controller

  • Create a new material, and put it onto the mesh

  • Drag the duplicated texture from your assets folder, onto the mesh in scene view

  • Now you can begin experimenting with the settings:

  • In edit mode, you can change the values and hit 'Update' to see the changes

  • You can also use the Randomization buttons

  • In game mode, it is all updated in realtime - However the randomization buttons will not function

  • Add to the bump map to add an additional UV layer to animate and bump - As well as experiment with adding to the material

Note

  • On the textures used, you will need to make it readable.
  • Click on the texture within your assets folder, and check 'Read/Write Enabled'
  • You may also need to use the Advanced section and override the settings to use RGBA 32 Bit

materialgate's People

Contributors

eagleeggs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

materialgate's Issues

Adding Functionality:

  • Random select texture from resources /done
  • Save history of X,Y, var positions
  • Fix Curves
  • Add more Material manipulation
  • Second layer texture + manipulation
  • Generate Color Maps /done
  • Texture Color Weighted to Mesh Vertex Displacement

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.