Marine added @setsphere for compatibility with RLVa, using Kitty Barnett's RLVa-derived effect code and shader, so modes, defaults, the distance/strength formula and the meaning of each parameter match. The command model around it does not: how parameters are sent, stored, replaced and combined between objects differs, and so do some value formats. This page covers @setsphere and all its setsphere_* parameters.

Differences

AspectRLV (Marine)RLVa (Firestorm)
Setting a parameter@setsphere_<param>:<value>=n, stored as an ordinary restriction (visible in @getstatus, reported by @notify). =force is accepted as a synonym of =n.@setsphere_<param>[:<value>]=force only, a modifier of the sender's own sphere; there is no =n/=y form.
Order of commandsParameters may be sent before or after @setsphere=n.The sender must already hold @setsphere=n; otherwise the parameter fails (unheld behavior).
Changing a valueA new value is added next to the old one and the two are mixed; remove the old one with =y and the exact same option first.A new value replaces the old one; =force without a value restores the default.
Several objectsObjects using the same mode share one effect, with parameters mixed (lowest distmin, distmax, distextend, tween, origin; highest valuemin, valuemax; blend colors multiplied, other params by largest component).Each holder gets its own sphere with its own values; the spheres are rendered one after another. At most six can be active; a seventh @setsphere=n fails.
Parameters from an object without @setsphereStill applied to the mode-0 effect if another object activated mode 0.Rejected.
Vector values (param)Up to four floats separated by ; or /; missing values are 0.Exactly four floats separated by /; anything else fails.
Blend colorSet through setsphere_param:r;g;b; there is no setsphere_color.setsphere_color:r/g/b, or setsphere_param (they share storage).
Origin 0 (avatar)RLV's reference joint (the head by default, configurable), even in mouselook.The avatar's render position.
TweenEffects are rebuilt from defaults whenever any setsphere restriction changes, so a tween probably animates from the defaults rather than from the previous state.Later changes are interpolated from the current values.
Side effectsAdding any setsphere command forces anti-aliasing, bump/shiny, transparent water, atmospheric shaders and Advanced Lighting Model on and depth of field off; the avatar counts as vision-restricted (as with @camdrawmin/max), and valuemax ≥ 0.25 hides edit beams.Rebuilds GL buffers if needed; no settings are changed.

Notes

See also