Git Product home page Git Product logo

hl2glsl's Introduction

HL2GLSL

HL2GLSL is pure C# translator between High Level Shading Language and the OpenGL Shading Language.

This is a fork of the original HL2GLSL project hosted on CodePlex.

WARNING: This project is still in development and may not function with your shaders yet.

Usage

The command line tool will convert one or more vertex or pixel shader entrypoints in a HLSL/FX file and generate a new GLSL file for each.

HL2GLSL MyShader.hlsl VsFunc
HL2GLSL MyEffect.fx VsFunc Vs2Func PsFunc

hl2glsl's People

Contributors

tomspilman avatar

Stargazers

 avatar Andrii Rublov avatar Marcin Gomulak avatar CNejWcen avatar Gonzalo Diez avatar Andy Baker avatar LeoLi avatar Timo Strating avatar 空白咯 avatar Sean Stevens avatar ColinLeung-NiloCat avatar William Coffman avatar Martin Ziel avatar Do, Anh Duc avatar Scripty McBot avatar  avatar Elisée Maurer avatar  avatar

Watchers

James Cloos avatar Ray Batts avatar ahsan muzaheed avatar

hl2glsl's Issues

Switch To TinyPG

We need to switch away from Grammatica.

  • It doesn't support case insensitive parsing (the main reason to switch).

  • It is old and barely supported (last update was 2009).

  • It is a C++ project.

    I feel that the Tiny Parser Generator is a better solution.

The hard issue is that we need to preserve the same technique HL2GLSL currently uses. We need to read and alter the parse tree generated by TinyPG and be able to dump the altered tree back to disk.

This may be a very big rewrite of most of HL2GLSL.

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.