If you have a GLSL programming question, where your actual result is different than what your expect or want, create a Minimal, Complete, and Verifiable exampleMinimal, Complete, and Verifiable example and post on Stack OverflowStack Overflow.
If you are looking for improvements or optimizations on your working existing shader code, your question may be on topic for Code Review.
Be sure to read the help center on both sites for an in-depth description as to what types of questions are on-topic.