A method comprising: obtaining a first coded depth picture representing a first view; reconstructing a first decoded depth picture based on the first coded depth picture; obtaining a first texture block of a first texture picture representing the first view; obtaining, from the first decoded depth picture, ranging information associated with the first texture block, wherein obtaining ranging information comprises at least one of the following: reconstructing or decoding the first decoded depth picture representing the first view and obtaining said ranging information from the first decoded depth picture; obtaining said ranging information from depth pictures preceding the first texture picture in coding order; or obtaining said ranging information from texture blocks preceding the first texture block in coding order; deriving block-wise disparity information with reference to a reference picture in a second view on the basis of the ranging information; obtaining a location of a reference block of the second view using the block-wise disparity information as spatial coordinates offset from a location of the first texture block; obtaining the reference block, using view synthesis prediction, comprising reference samples for performing at least one of the following: encoding the first texture block; or decoding the first texture block; using the disparity information for locating the reference samples in the reference picture; obtaining reference sample values for the reference block on the basis of the located reference samples; filtering the reference sample values; and filtering the reference sample values using one or more weighted prediction parameters. obtaining a first coded depth picture representing a first view; reconstructing a first decoded depth picture based on the first coded depth picture; obtaining a first texture block of a first texture picture representing the first view; obtaining, from the first decoded depth picture, ranging information associated with the first texture block, wherein obtaining ranging information comprises at least one of the following: reconstructing or decoding the first decoded depth picture representing the first view and obtaining said ranging information from the first decoded depth picture; obtaining said ranging information from depth pictures preceding the first texture picture in coding order; or obtaining said ranging information from texture blocks preceding the first texture block in coding order; reconstructing or decoding the first decoded depth picture representing the first view and obtaining said ranging information from the first decoded depth picture; obtaining said ranging information from depth pictures preceding the first texture picture in coding order; or obtaining said ranging information from texture blocks preceding the first texture block in coding order; deriving block-wise disparity information with reference to a reference picture in a second view on the basis of the ranging information; obtaining a location of a reference block of the second view using the block-wise disparity information as spatial coordinates offset from a location of the first texture block; obtaining the reference block, using view synthesis prediction, comprising reference samples for performing at least one of the following: encoding the first texture block; or decoding the first texture block; using the disparity information for locating the reference samples in the reference picture; obtaining reference sample values for the reference block on the basis of the located reference samples; filtering the reference sample values; and filtering the reference sample values using one or more weighted prediction parameters.