Home
Tutorials
Getting started!
Adding / Extending geometries
Classes
AbstractRenderer
build
render
setAnimationLoop
setClearColor
setPixelRatio
setSize
AdvancedShape
Ball
BallShape
BallShape
BASIC_RENDERER
BasicCamera
shader
updateProjectionMatrix
BasicPTMaterial
BasicRenderer
build
buildFragmentShader
BasicShape
Box
BoxShape
CheckerboardMaterial
glslInstance
glslRender
Circle
glslInstance
onAdd
setId
updateData
CircleShape
CliffordTorus
CliffordTorusShape
ComplementShape
onAdd
setId
ConstDirLight
glslClass
glslClass
glslClass
Cylinder
glslInstance
onAdd
setId
updateData
CylinderShape
CylinderShape
DebugMaterial
DirectedVerticalHalfSpace
DirectedVerticalHalfSpaceShape
DisplacementShape
onAdd
setId
DollyCamera
shader
DragVRControls
onSelectEnd
onSelectStart
onSqueezeEnd
onSqueezeStart
EarthTexture
glslInstance
glslRender
ESun
glslClass
glslClass
ExpFog
shader
FakeBall
FakeBallShape
FakePointLight
FlyControls
onKeyDown
onKeyUp
pause
restore
setKeyboard
update
updateMovementVector
updateRotationVector
Fog
shader
Generic
glslClass
addImport
glslInstance
onAdd
setId
shader
GradientColorMaterial
glslInstance
glslRender
Group
element
shader
Group
GroupElement
clone
copy
equals
identity
invert
multiply
premultiply
toIsometry
HalfSpace
HalfSpaceShape
Horoball
HoroballShape
InfoControls
onKeyDown
IntersectionShape
onAdd
setId
Isometry
build
build
clone
copy
diffExpMap
doesFlip
equals
identity
invert
makeInvTranslation
makeRotationX
makeRotationY
makeRotationZ
makeTranslation
makeTranslationFromDir
makeTranslationFromDir
makeTranslationFromUnitDir
multiply
multiplyIsometries
premultiply
reduceError
IsotropicChaseVRControls
chase
onSelectEnd
onSelectStart
onSqueezeEnd
onSqueezeStart
KeyGenericControls
Light
glslDirections
glslInstance
LightVRControls
chase
LinFog
shader
LocalBall
LocalBallShape
LocalBallShape
LocalCappedCone
LocalCappedConeShape
LocalCappedCylinder
LocalCappedCylinderShape
LocalCube
LocalCubeShape
LocalCylinder
LocalCylinderShape
LocalCylinderShape
LocalDirectedBall
LocalDirectedBallShape
LocalDirectedHoroballShape
LocalFakeBall
LocalFakeBallShape
LocalHoroball
LocalHoroballShape
LocalPotato
LocalPotatoShape
LocalRod
LocalRodShape
LocalRoundCone
LocalRoundConeShape
LocalVerticalCylinder
LocalVerticalCylinderShape
LocalXYHalfSpace
LocalXYHalfSpaceShape
LocalZHalfSpace
LocalZHalfSpaceShape
MarsTexture
glslInstance
glslRender
Material
glslInstance
glslRender
Matrix2
clone
copy
determinant
equals
identity
invert
multiply
multplyMatrices
power
premultiply
set
MoonTexture
glslInstance
glslRender
MoveVRControls
onSelectEnd
onSelectStart
onSqueezeEnd
onSqueezeStart
update
NativeCamera
sidedShader
NoiseColorMaterial
glslInstance
glslRender
NormalMaterial
glslInstance
glslRender
PathTracerCamera
PathTracerRenderer
PathTracerUI
onClickDownload
onClickGo
onPressP
PathTracerWrapMaterial
PhongMaterial
PhongWrapMaterial
onAdd
setId
Point
applyIsometry
applyIsometry
build
clone
copy
equals
reduceError
reduceError
set
toKlein
toVector4
PointLight
glslClass
glslClass
glslClass
glslClass
glslClass
Position
applyIsometry
applyQuaternion
clone
copy
equals
fakeDiffExpMap
flow
flowFromOrigin
invert
multiply
premultiply
reduceError
reduceErrorBoost
reduceErrorQuaternion
reset
setBoost
setQuaternion
PotatoShape
PTMaterial
glslInstance
glslRender
QuadRing
element
matrix4
shader
QuadRingElement
add
addProduct
clone
copy
equals
isZero
multiply
negate
product
reduce
sub
subProduct
sum
toNumber
QuadRingMatrix4
clone
copy
equals
fromArray
getEntry
identity
invert
multiply
multiplyMatrices
multiplyScalar
premultiply
set
setEntry
toArray
toMatrix4
transpose
RelPosition
applyQuaternion
clone
copy
equals
fakeDiffExpMap
flow
reduceError
reduceErrorBoost
reduceErrorFacing
reduceErrorLocal
reset
teleport
RESET_CALLED
ResetVRControls
Scene
_add
add
shader
ShaderBuilder
Shape
glslGradient
glslInstance
glslSDF
glslUVMap
updateAbsoluteIsom
updateData
ShootVRControls
onSelectEnd
onSelectStart
shoot
update
updateAllBullets
updateBullet
SimpleTextureMaterial
glslInstance
glslRender
SingleColorMaterial
glslInstance
glslRender
SL2
flip
invert
multiply
premultiply
reduceError
rotateBy
toH2
toMatrix3
toMatrix4
translateFiberBy
Solid
glslInstance
onAdd
setId
updateData
SquaresMaterial
glslInstance
glslRender
StraightGeo
StraightGeoShape
SunTexture
glslInstance
glslRender
SwitchControls
Teleportation
shader
TeleportationSet
add
shader
Thurston
add
animate
initGUI
initStats
onWindowResize
run
switchRenderer
ThurstonLite
add
animate
initGUI
initStats
onWindowResize
run
ThurstonVR
add
animate
initGUI
initStats
onWindowResize
run
UnionShape
onAdd
setId
VaryingColorMaterial
glslInstance
glslRender
Vector
applyFacing
applyMatrix4
toLog
VerticalCylinder
VerticalCylinderShape
VerticalHalfSpace
VerticalHalfSpaceShape
VRCamera
_chaseThreeCamera
sidedShader
switchStereo
updateFakeCamerasPosition
VRRenderer
WrapShape
onAdd
setId
XYHalfSpace
XYHalfSpaceShape
ZHalfSpace
ZHalfSpaceShape
ZSun
glslClass
Global
bind
complement
CREEPING_FULL
CREEPING_OFF
CREEPING_STRICT
intersection
KEYBOARD_BINDINGS
LEFT
pathTracerWrap
phongWrap
proj2klein
RIGHT
safeString
specifyRenderer
specifyThurston
union
wrap
BASIC_RENDERER
BASIC_RENDERER
Tool to build shaders without redundancies in the imported chunks of code
Constructor
new BASIC_RENDERER
()
Source:
utils/ShaderBuilder.js
,
line 9