![]() |
|
Skybox issue - Printable Version +- AB4D Forum (https://forum.ab4d.com) +-- Forum: Products Forums (https://forum.ab4d.com/forumdisplay.php?fid=4) +--- Forum: Ab3d.DXEngine (https://forum.ab4d.com/forumdisplay.php?fid=11) +--- Thread: Skybox issue (/showthread.php?tid=4493) |
Skybox issue - GraPhiX - 09-18-2025 Hi i wonder if anyone can help me get rid of seams in my skybox, and also the top seems to render darker than the rest ! can anyone help me please [Image: https://www.graphix.org.uk/downloads/sbtest.jpg] RE: Skybox issue - abenedik - 09-18-2025 If the top side is darker, this means that the skybox is not illuminated only by an ambient light but also by some other light source. Please check the source code from the DXEngine samples PhysicallyBasedRendering/PBRPropertiesSample.xaml: Code: <!-- The trick to create a skybox in WPF is to use two Viewport3D objects:As seen here, a separate Viewport3D is used to render the skybox in the background. I do not know what causes the edges of the images to be visible. Maybe the images have a semi-transparent pixel at the border. You can try to use your images in the sample mentioned above and see how they look (or use the images from that sample in your app). RE: Skybox issue - GraPhiX - 09-18-2025 thank you that resolved it :) |