Reflection (computer graphics): Difference between revisions

Content deleted Content added
mNo edit summary
Tags: Visual edit Mobile edit Mobile web edit Advanced mobile edit
Tags: Mobile edit Mobile web edit
Line 17:
 
*[[Environment mapping]] (e.g. [[cube mapping]]): a technique that has been widely used e.g. in video games, offering reflection approximation that's mostly sufficient to the eye, but lacking self-reflections and requiring pre-rendering of the environment map.<ref name="randima">{{cite book|last1=Fernando|first1=Randima|last2=Kilgard |first2=Mark|title=The Cg tutorial. The definitive guide to programmable real-time graphics|date=2003|publisher=Addison-Wesley Professional|isbn=9780321194961}}</ref>{{rp|174}} The precision can be increased by using a spatial array of environment maps instead of just one. It is also possible to generate cube map reflections in real time, at the cost of memory and computational requirements.<ref name="Hongtongsak">{{Cite web |last=Hongtongsak |first=Kevin |title=Dynamic Cubemapping |url=https://people.engr.tamu.edu/sueda/courses/CSC471/2016S/demos/khongton/index.html |access-date=2024-03-09 |website=people.engr.tamu.edu}}</ref>
*Screen space reflections (SSR): a more expensive technique that traces reflection rays income screenfrom spacepixel (as opposed to world space in edata.g. ray tracing). This isrequires donethe fordata eachof renderedsurface pixelnormal ofand theeither reflecteddepth surface,buffer(local usingspace) theor surfaceposition normalbuffer(world and scene depthspace). The disadvantage is that objects not captured in the rendered frame cannot appear in the reflections, which results in unresolved intersections and incompleteor reflectionfalse image subsequentlyintersections causing artefacts onsuch theas edgereflection ofvanishment theand reflectionvirtual image. SSR was originally introduced as Real Time Local Reflections in [[CryENGINE 3]].<ref>{{cite web |last=Kasyan |first=Nickolay |last2=Schulz |first2=Nicolas |last3=Sousa |first3=Tiago |date=18 August 2011 |title=Secrets of CryENGINE 3 Graphics Technology |url=http://www.klayge.org/material/4_1/SSR/S2011_SecretsCryENGINE3Tech_0.pdf |accessdate=27 November 2022}}</ref>
 
==Types of reflection==