How am I supposed to resize a light probe in current master?

So I was trying to use latest master for my local sdk build, since the github build’s PBR shader is broken and used latest engine master. For some reason, resizing light probe radius didn’t work in scene composer. I went to investigate the issue and found this in the engine code (LightProbe.java):

/**
 * Sets the bounds of this LightProbe
 * Note that for now only BoundingSphere is supported and this method will
 * throw an UnsupportedOperationException with any other BoundingVolume type
 * @param bounds the bounds of the LightProbe
 * @deprecated
 */
@Deprecated
public void setBounds(BoundingVolume bounds) {
}

I’d like to ask @nehon how are we supposed to set radius or any size of bounds of an existing light probe on latest master?

1 Like

There should be a setRadius method on the probe now

1 Like