@luma.gl/shadertools
Advanced tools
Comparing version
import { glsl } from "../../../lib/glsl-utils/highlight.js"; | ||
const vs = glsl`\ | ||
varying vec3 dirlight_vNormal; | ||
out vec3 dirlight_vNormal; | ||
@@ -14,3 +14,3 @@ void dirlight_setNormal(vec3 normal) { | ||
varying vec3 dirlight_vNormal; | ||
in vec3 dirlight_vNormal; | ||
@@ -17,0 +17,0 @@ // Returns color attenuated by angle from light source |
{ | ||
"name": "@luma.gl/shadertools", | ||
"version": "9.0.0-alpha.51", | ||
"version": "9.0.0-alpha.52", | ||
"description": "Shader module system for luma.gl", | ||
@@ -49,7 +49,7 @@ "type": "module", | ||
"@babel/runtime": "^7.0.0", | ||
"@luma.gl/core": "9.0.0-alpha.51", | ||
"@luma.gl/core": "9.0.0-alpha.52", | ||
"@math.gl/core": "^4.0.0", | ||
"@math.gl/types": "^4.0.0" | ||
}, | ||
"gitHead": "368b615bdd46d0006717f004244a942f3d2812e7" | ||
"gitHead": "41fa29f78dc260e5ef4c6a48e657fb5d23c96e8f" | ||
} |
@@ -15,3 +15,3 @@ // luma.gl, MIT license | ||
const vs = glsl`\ | ||
varying vec3 dirlight_vNormal; | ||
out vec3 dirlight_vNormal; | ||
@@ -28,3 +28,3 @@ void dirlight_setNormal(vec3 normal) { | ||
varying vec3 dirlight_vNormal; | ||
in vec3 dirlight_vNormal; | ||
@@ -31,0 +31,0 @@ // Returns color attenuated by angle from light source |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
2405247
-0.51%408
-0.24%+ Added
- Removed
Updated