-
公开(公告)号:US20180033191A1
公开(公告)日:2018-02-01
申请号:US15551846
申请日:2016-02-26
Applicant: ARM Limited
Inventor: Roberto Lopez Mendez , Sylwester Krzysztof Bala , Samuel Paul Laynton
CPC classification number: G06T15/503 , G06T13/20 , G06T15/005 , G06T15/04 , G06T15/06 , G06T15/20 , G06T15/80 , G06T19/20 , G06T2210/12 , G06T2210/21 , G06T2210/62 , G06T2219/2012
Abstract: In a graphics processing system, a bounding volume (20) representative of the volume of all or part of a scene to be rendered is defined. Then, when rendering an at least partially transparent object (21) that is within the bounding volume (20) in the scene, a rendering pass for part or all of the object (21) is performed in which the object (21) is rendered as if it were an opaque object. In the rendering pass, for at least one sampling position (23) on a surface of the object (21), the colour to be used to represent the part of the refracted scene that will be visible through the object (21) at the sampling position (23) is determined by using a view vector (24) from a viewpoint position (25) for the scene to determine a refracted view vector (26) for the sampling position (23), determining the position 28 on the bounding volume (20) intersected by the refracted view vector (26), using the intersection position (28) to determine a vector (29) to be used to sample a graphics texture that represents the colour of the surface of the bounding volume (20) in the scene, and using the determined vector (29) to sample the graphics texture to determine a colour for the sampling position (23) to be used to represent the part of the refracted scene that will be visible through the object (21) at the sampling position (23) and any other relevant information encoded in one or more channels of the texture.