This paper presents a solution for photorealistic rendering of virtual objects into dynamic real scenes. It consists of a toolkit for Augmented Reality, named RPR-SORS, which is composed of two artifacts: an API that handles various computer graphics techniques in a novel pipeline approaching illumination, reflectance model, shadowing, composition, and camera effects; and a material editor that accelerates the creation of complex photorealistic materials. An experimental application was developed with the proposed solution, where both the API and material editor were used to accomplish photorealistic effects in an application of Augmented Reality in architecture. The results obtained show that the API provides a flexible infrastructure for the photorealistic Augmented Reality pipeline, and that the material editor facilitates the creation of photorealistic materials and their use for Augmented Reality.