Add missing language-injection comments

This commit is contained in:
Lukas Rieger (Blue) 2024-11-26 16:12:46 +01:00
parent c88ac5401a
commit e6131e055c
No known key found for this signature in database
GPG Key ID: AA33883B1BBA03E6
3 changed files with 5 additions and 0 deletions

View File

@ -24,6 +24,7 @@
*/
import { ShaderChunk } from 'three';
// language=GLSL
export const LOWRES_VERTEX_SHADER = `
#include <common>
${ShaderChunk.logdepthbuf_pars_vertex}

View File

@ -22,6 +22,8 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
// language=GLSL
export const SKY_FRAGMENT_SHADER = `
uniform float sunlightStrength;
uniform float ambientLight;

View File

@ -22,6 +22,8 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
// language=GLSL
export const SKY_VERTEX_SHADER = `
varying vec3 vPosition;
void main() {