Method, computer program product and system for rendering soft shadows in a frame representing a 3D-scene
AssigneeCrytek GmbH
InventorMarco Corbetta
Life of this patent
Estimating the term…
Loading patent…
AssigneeCrytek GmbH
InventorMarco Corbetta
Estimating the term…
A method, computer program product and system for rendering soft shadows in an image or frame representing a 3D scene, comprising the steps, from a light's point of view, of detecting and creating a list of edges casting shadows, a list of soft shadow edges and a list of shadow volumes polygons; rendering said soft shadow edges into one or more sides of a cubemap, rendering said shadow volume polygons in combination with a stencil buffer to detect full shadowed areas; from a viewer's point of view rendering said scene with said cubemap applied while performing a stencil test operation for preventing the scene to be drawn in shadowed areas, to produce a soft shadowed image. In addition, the system supports the re-use of the shadow volumes and cubemap information for more than one frame.
A method for rendering soft shadows in a frame representing a three-dimensional scene, which is defined by a list of polygons and comprises a plurality of three-dimensional objects, said method comprising the steps of:
The method according to the preceding claim, wherein the step of computing said two remaining vertices comprises:
The method according to the preceding claim, wherein
The method according to the preceding claim, wherein the step of applying said cubemap while performing a stencil test operation comprises:
A computer program product for rendering soft shadows in a frame representing a three-dimensional scene, which is defined by a list of polygons and comprises a plurality of three-dimensional objects, comprising:
The computer program product according to the preceding claim, wherein the program code means for computing said two remaining vertices comprises:
The computer program product according to the preceding claim, further comprising:
The computer program product according to the preceding claim, wherein a program code means for applying said cubemap while performing a stencil test operation comprises:
A system for rendering a three-dimensional scene comprising a plurality of three-dimensional objects formed by polygons and for rendering soft shadows in said scene:
The system according to the preceding claim, further comprising an alpha buffer for rendering into the cubemap 8 bit alpha values instead of 24 bit RGB values or any other value stored in the color buffer.
Dependencies are inferred from the claim text.