Michael Betke Posted August 19, 2010 Share Posted August 19, 2010 I think it looks a bit unrealistic if the sky blurs off while using DoF. How can I turn it off in the shader? I have no idea where to search. Quote Pure3d Visualizations Germany - digital essences AAA 3D Model Shop specialized on nature and environments Link to comment Share on other sites More sharing options...
DaDonik Posted August 19, 2010 Share Posted August 19, 2010 Im' afraid you can't do this at all. At least not with the current version of Framework. The thing is, that the DOF shader is running after the skybox and everything else is rendered into a texture. There is no way the shader can distinguish between the skybox/background and distant mountains/models. I might be wrong, as i'm not using the latest framework...let's hope Quote (Win7 64bit) && (i7 3770K @ 3,5ghz) && (16gb DDR3 @ 1600mhz) && (Geforce660TI) Link to comment Share on other sites More sharing options...
Canardia Posted August 19, 2010 Share Posted August 19, 2010 Earlier the fog effect did not affect the sky, and it could be changed with a simple commenting out of one line in the skybox shader. I think it works for all other effects also, although I don't see any point in it, because far DoF should affect the sky since it's just another object further away. Quote ■ Ryzen 9 ■ RX 6800M ■ 16GB ■ XF8 ■ Windows 11 ■ ■ Ultra ■ LE 2.5 ■ 3DWS 5.6 ■ Reaper ■ C/C++ ■ C# ■ Fortran 2008 ■ Story ■ ■ Homepage: https://canardia.com ■ Link to comment Share on other sites More sharing options...
Michael Betke Posted August 20, 2010 Author Share Posted August 20, 2010 but its blurring out clouds a lot which looks ugly. Quote Pure3d Visualizations Germany - digital essences AAA 3D Model Shop specialized on nature and environments Link to comment Share on other sites More sharing options...
Canardia Posted August 20, 2010 Share Posted August 20, 2010 It would look wierd if the clouds were not blurred out: http://www.alienskin.com/bokeh/examples-tilt-shift.aspx# Quote ■ Ryzen 9 ■ RX 6800M ■ 16GB ■ XF8 ■ Windows 11 ■ ■ Ultra ■ LE 2.5 ■ 3DWS 5.6 ■ Reaper ■ C/C++ ■ C# ■ Fortran 2008 ■ Story ■ ■ Homepage: https://canardia.com ■ Link to comment Share on other sites More sharing options...
Marleys Ghost Posted August 20, 2010 Share Posted August 20, 2010 Easy fixed .. just need this .. this .. and this. 1 Quote AMD Bulldozer FX-4 Quad Core 4100 Black Edition 2 x 4GB DDR3 1333Mhz Memory Gigabyte GeForce GTX 550 Ti OC 1024MB GDDR5 Windows 7 Home 64 bit BlitzMax 1.50 • Lua 5.1 • MaxGUI 1.41 • UU3D Pro • MessiahStudio Pro • Silo Pro 3D Coat • ShaderMap Pro • Hexagon 2 • Photoshop, Gimp & Paint.NET LE 2.5/3.4 • Skyline • UE4 • CE3 SDK • Unity 5 • Esenthel Engine 2.0 Marleys Ghost's YouTube Channel • Marleys Ghost's Blog "I used to be alive like you .... then I took an arrow to the head" Link to comment Share on other sites More sharing options...
L B Posted August 22, 2010 Share Posted August 22, 2010 Easy fixed .. just need this .. this .. and this. +1. Although I expected that answer from Lumooja. Slightly deceived here Quote Link to comment Share on other sites More sharing options...
Canardia Posted August 22, 2010 Share Posted August 22, 2010 Gamelib has also dynamic DoF (command: DynamicDoF()), so you can see sharply where you look at and everything closer and farther is blurred. No need for headtracking devices Quote ■ Ryzen 9 ■ RX 6800M ■ 16GB ■ XF8 ■ Windows 11 ■ ■ Ultra ■ LE 2.5 ■ 3DWS 5.6 ■ Reaper ■ C/C++ ■ C# ■ Fortran 2008 ■ Story ■ ■ Homepage: https://canardia.com ■ Link to comment Share on other sites More sharing options...
Marleys Ghost Posted August 23, 2010 Share Posted August 23, 2010 so you can see sharply where you look at Shouldn't that be "so you can see sharply where the Camera's aim spot looks at " .. Quote AMD Bulldozer FX-4 Quad Core 4100 Black Edition 2 x 4GB DDR3 1333Mhz Memory Gigabyte GeForce GTX 550 Ti OC 1024MB GDDR5 Windows 7 Home 64 bit BlitzMax 1.50 • Lua 5.1 • MaxGUI 1.41 • UU3D Pro • MessiahStudio Pro • Silo Pro 3D Coat • ShaderMap Pro • Hexagon 2 • Photoshop, Gimp & Paint.NET LE 2.5/3.4 • Skyline • UE4 • CE3 SDK • Unity 5 • Esenthel Engine 2.0 Marleys Ghost's YouTube Channel • Marleys Ghost's Blog "I used to be alive like you .... then I took an arrow to the head" Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.