Skip to content

Instantly share code, notes, and snippets.

@mrdoob
mrdoob / README.md
Created October 29, 2026 12:07
three.js: light probe grid corner before/after

Screenshots for the light probe grid bounds margin PR.

@mrdoob
mrdoob / fiddle.css
Last active October 29, 2026 14:37
three.js: point light shadow seams (after)
body { margin: 0; overflow: hidden; background: #000; }
#info { position: absolute; top: 10px; width: 100%; text-align: center; color: #000; font: 13px sans-serif; text-shadow: 0 0 4px #fff; z-index: 1; }
@mrdoob
mrdoob / fiddle.css
Created October 29, 2026 11:19
three.js: point light shadow seams (before)
body { margin: 0; overflow: hidden; background: #000; }
#info { position: absolute; top: 10px; width: 100%; text-align: center; color: #000; font: 13px sans-serif; text-shadow: 0 0 4px #fff; z-index: 1; }
@mrdoob
mrdoob / three.core.js
Last active October 29, 2026 14:02
three.js build with distance-based point light shadow maps (point-shadow-distance branch), used by the PR's jsfiddle
This file has been truncated, but you can view the full file.
/**
* @license
* Copyright 2010-2026 Three.js Authors
* SPDX-License-Identifier: MIT
*/
const REVISION = '187dev';
/**
* Represents mouse buttons and interaction types in context of controls.
*
@mrdoob
mrdoob / LICENSE
Created October 27, 2026 09:00
Three.js PR 35232: override material shadows demo before the fix (dev build)
The MIT License
Copyright © 2010-2026 three.js authors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
@mrdoob
mrdoob / LICENSE
Last active October 27, 2026 11:24
Three.js PR 35232: override material shadows demo and temporary build
The MIT License
Copyright © 2010-2026 three.js authors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
@mrdoob
mrdoob / LICENSE
Last active October 14, 2026 12:37
Three.js PR 34931: static lights demo and temporary build
The MIT License
Copyright © 2010-2026 three.js authors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
@mrdoob
mrdoob / LICENSE
Last active October 10, 2026 04:02
Three.js PR 34946: double-sided shadow bias demo and temporary build
The MIT License
Copyright © 2010-2026 three.js authors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
@mrdoob
mrdoob / cdak-synth.html
Last active September 3, 2026 05:52
CDAK SYNTH PLAYGROUND
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CDAK Synth Node Playground // Standalone</title>
<style>
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;800;900&family=Space+Grotesk:wght@300;400;500;600&family=JetBrains+Mono:wght@400;500;700&display=swap');
:root {
@mrdoob
mrdoob / index.html
Last active February 14, 2026 07:10
XMP
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>XMP</title>
<script src="jsxm/xmeffects.js"></script>
<script src="jsxm/xm.js"></script>
<style>