The master thesis presented a detailed comparison of approaches to digital and virtual photography and tested digital and virtual photography in computer games. The aim of the research was to identify approaches to virtual photography in computer games and approaches to digital photography in relation to different theoretical backgrounds. The objectives were to compare digital and virtual photography production methods, capture virtual photographs using test subjects, capture digital photographs using test subjects, determine the necessary background of test subjects to capture technically appropriate virtual and digital photographs, compare digital photography and virtual photography capture systems in computer games and determine the success of emulation of digital photography in virtual photography in computer games. The result should help to enrich research in this field, which was, at the time when the testing has begun, very scarce. Two digital cameras and the computer game The Witcher 3: Wild Hunt were used for the testing. After the results were obtained, a survey and an interview were conducted. The analysis of all the results was presented and evaluated in graphical detail. The results showed that knowledge of the theory is more important in digital photography, where the settings are not so intuitive. The findings showed that virtual photography is still less technically developed and takes a fundamentally different approach to capturing a photograph. However, it is rapidly evolving and we can expect much better graphics and photo modes in computer games in the next few years, as well as the development of photography in this direction.