Git Product home page Git Product logo

unity3d-shader's People

Contributors

petereichinger avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

unity3d-shader's Issues

Auto completion

Obviously auto-completion would be amazing, especially suggestions for vertex input and output structs. Like if you named the input to your fragment stage "i", then typing "i." would bring up a menu of variables in the struct, like i.vertex, i.uv, etc.

Update Repository Description

The description of this repo says it only work with Sublime Text 2, but the package info indicates it works with ST3 also.

Function matches find subwords - e.g. ndoth has 'dot' highlighted

Hi,

Thanks for this package, very useful.

I noticed though that he current pattern matching for Functions will match subwords, for example if you created a variable to hold the result of 'n dot h' and call it ndoth then the 'dot' will be highlighted. Would be nice to avoid this.

For now in my own fork of this I just copy & paste the regex for the Type match and applied it to Functions. Seems to work ok, but I know very little regex stuff so might not be the right way to go about it.

Oh one other change I made was to add cginc to the filetype since the main reason for using Sublime Text was that I wanted to be able to read and find stuff in Unity's cginc files easier. Again seems to work fine, but I suspect to do it properly would take more work and might be better as a new package.

Unable to Save Shader in new Buffer

I have repro-ed this bug on multiple machines, and have determined that uninstalling this package fixes the problem. Both machines are on OS X.

To Repro:
Copy this shader from pastebin:
https://pastebin.com/raw/dLAsfj0E
Open Sublime.
Go File-New to create a new buffer.
Paste the contents into the buffer.
Attempt to save the file.
Observer that the 'Save' button in the Save dialog is greyed out and cannot be enabled.

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.