Skip to content

Commit e6131e0

Browse files
committed
Add missing language-injection comments
1 parent c88ac54 commit e6131e0

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

common/webapp/src/js/map/lowres/LowresVertexShader.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
*/
2525
import { ShaderChunk } from 'three';
2626

27+
// language=GLSL
2728
export const LOWRES_VERTEX_SHADER = `
2829
#include <common>
2930
${ShaderChunk.logdepthbuf_pars_vertex}

common/webapp/src/js/skybox/SkyFragmentShader.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2323
* THE SOFTWARE.
2424
*/
25+
26+
// language=GLSL
2527
export const SKY_FRAGMENT_SHADER = `
2628
uniform float sunlightStrength;
2729
uniform float ambientLight;

common/webapp/src/js/skybox/SkyVertexShader.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2323
* THE SOFTWARE.
2424
*/
25+
26+
// language=GLSL
2527
export const SKY_VERTEX_SHADER = `
2628
varying vec3 vPosition;
2729
void main() {

0 commit comments

Comments
 (0)