Repository navigation
Typed arrays cross to C# as their bytes, timers run one at a time as in a browser, and 3D scenes in ojplay gain baked light, scattering, a sky, height fog and per-actor looks. The native library changed, so restart the editor after updating.
- A skinned model nobody sees is no longer deformed, uploaded or animated each frame
- Loading a skinned model with clips costs its frame less
- A loaded model's pictures have mipmaps
ModelBridge.ScaleManyscales many actors in one call- An actor takes a tint, and four colours through its model's mask
- A loaded model can play another's clips
- An actor attaches to another actor's joint
- An actor hides and shows its model's parts by name
- An actor wears a texture of its own in place of its model's
- A scatter draws nothing for a camera that sees no layer
- ModelBridge counts the last frame's draw and set-pass calls
- A mesh model draws unlit, or added to what is behind it
- A mesh model blends premultiplied, its alpha a dial from laid over to added
- An actor takes a flash, a colour added after its light
- An actor takes a light of its own, an ambient and one direction
- A loaded model's vertex colours multiply its base colour, except on a skinned mesh
- The scene camera rolls (
SetCameraRolled) - A scene sets its ambient occlusion, or turns it off
- A mesh model's texture plays as a flipbook
- The scene tints what lies below a waterline
ModelBridge.GpuSkinning, off by default, poses an actor's skinned meshes on the graphics card- A model shines from the scene's two pictures (
SetModelShine) - Scattered copies draw from a texture written once, with no arrays sent each frame
ModelBridge.LoadBudgetsets the milliseconds a frame that loading models may take- Typed arrays cross to C# as their bytes, not as JSON
- A Float32Array sets a Vector3[] (or Vector2, Vector4, Color, Quaternion) array, as in
mesh.vertices - WebSocket binary sends and GPU buffer writes cross as bytes
- The native library's ABI version is 4: restart the editor after updating
- ModelLit takes
_ColorMask, so a model can draw depth alone - ModelBridge makes a model from arrays, with vertex colours, and redraws it in place
- ModelBridge scatters copies of a model as instanced chunks
- A shader effect draws at a
PixelRatio, pixels per layout point - A picture sized by its layout can pass 2048 a side, up to the GPU's limit, and keeps its shape
- A pass can keep 32 bits a channel (
Bits), and a kept read hands back floats - ModelBridge draws the scene into a texture a program reads
- ModelBridge draws the scene's distances into a texture a program reads, on URP
- ModelBridge draws a gradient sky with a sun disc and stars
- ModelBridge draws a mesh model as depth alone
- A splat ground blurs its far repeats to their mean colour and varies its brightness across the world (
SetMeshSplatFar) - Models and the sky fog without Unity's fog keywords, in linear, exp and exp2 alike
- ModelBridge draws height fog, thick in valleys and thin over ridges and up the sky (
SetFogLaw) - Scattered copies upload a third of the instance data a draw
- A scatter can stop casting or receiving shadows (
SetScatterShadows) and be hidden without rebuilding (SetScatterVisible) - Glossy models reflect the sky once asked (
SetSkyReflect) - A mesh model can let the sun wrap round it and show through it from behind, in a colour and a focus (
SetMeshLeafLight) - A mesh model's faces can dither away as they turn edge on (
SetMeshEdgeFade) - A mesh model can sway in layers: a bending trunk, swinging limbs and fluttering leaves, under gusts that cross the ground (
SetMeshSwayLayers) - InputBridge says which pointer the last press came from
- SLProgramBridge counts the page programs still compiling
- A property two interfaces declare reads the get-only one, whatever order the assembly lists them in
- LightBaker bakes sky and bounced light into a lightmap and a probe grid at runtime
- ModelBridge bakes the scene's static actors and scattered copies, and lights moving actors from the probes
- ModelLit draws a baked actor from the lightmap
- ModelBridge saves a finished bake as a light file and shows a saved one without baking
- Baked light reads back on WebGPU
- Baked light is no longer black on WebGL 2
- ModelBridge tiles a texture on a mesh model
- ModelBridge paints a mesh model from up to four tiling layers by weights a vertex, on GroundLit
- A splat layer can be projected from the sides, repeating every so many metres
- ModelBridge scatters copies with a tint, a pitch and a roll each
- A scatter draws within a range of the camera, dithered across its edges
- A mesh model can be cut out by its alpha, drawn two sided, and swayed by a scene wind
- ModelBridge sets how far, how soft and how sharp the sun's shadows are, on URP
- An actor that receives no shadows stays in URP's SRP Batcher
- Timers due together run one at a time, as in a browser: an await in one resumes before the next runs, and a frame runs at most 4 ms of them
- KeptTexture takes back the bytes it was read as (
Upload) - A texture read takes an 8-bit target
- Disposing one JSRunner no longer breaks another's event unsubscription
- The scaffold pins ojplay 0.17.3, onejs-unity 0.11.3 and onejs-react 0.4.6