Git Product home page Git Product logo

Comments (4)

petereichinger avatar petereichinger commented on July 24, 2024

I'll look into this tonight.

Thanks. Finally someone who finds this repo useful 😆

from unity3d-shader.

mysteryDate avatar mysteryDate commented on July 24, 2024

Yeah! Super useful. I love ShaderLab, and I love Sublime Text. There are dozens of us! Dozens!

https://www.youtube.com/watch?v=lKie-vgUGdI

But honestly, MonoDevelop eats the bag... and don't even get me started on Visual Studio.

from unity3d-shader.

petereichinger avatar petereichinger commented on July 24, 2024

I hope this works. Is there anything else you want added?

from unity3d-shader.

mysteryDate avatar mysteryDate commented on July 24, 2024

Works great! Thanks.

As for additions, there could be quite a few:

  • Highlighting for a bunch of keywords: like #if, #define, uniform, POSITION, etc. Would there be a way to just import CG syntax highlighting between CGPROGRAM and ENDCG tags?
  • Outside of CG, there are some built in Unity variables like UNITY_MATRIX_MVP that would be nice to highlight.
  • 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.

If I had the time, I would try to handle these myself. Maybe some day? This is definitely not what I'm paid to do...

from unity3d-shader.

Related Issues (9)

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.