Skip to content

phtaylor/GLSL-parser

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GLSL Parser

This is a GLSL parser written as a webpack loader, this loader will mangleyour GLSL code with the following modificitons.

Modifications

  • Obfuscates private variables.
  • Removes comments.
  • Removes whitespaces.

Getting Started

These instructions will help you .

Prerequisites

  • Install Node.Js if you have not already.
  • nstall webpack Version 4.32.0
npm install --save-dev webpack@4.32.0

Deployment

  • Make sure that your root file ( index.js ) is in the src directory.
  • Copy the glsl_loader.js file in your root project directory.
  • Copy webpack.config.js file in your root project directory.
  • To make a build run the following command in the terminal.
npm run build
  • The build will be created as bundle.js in the Build directory.

Built With

License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%