Icare Posted July 20, 2010 Posted July 20, 2010 Hi, I prefer to open another post rather than using that of another guy. I was just looking to do a simple transparency effect with the specular. I tried all shaders none can do it, a little help please. Nicolas Quote
Canardia Posted July 20, 2010 Posted July 20, 2010 I haven't tried, but I would think you need to create an identical directional light in the foreground world as in your normal world, and use the _specular shader for your transparent objects in the foreground world. You would need to disable all shadows, since they are already cast in the normal world. 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 ■
Icare Posted July 21, 2010 Author Posted July 21, 2010 thank, I'll try it tonight. If I use the framework I must do : Global fw:TFramework = TFramework.Create() SetWorld( fw.background.world) ' 'here my code for light in foreground world ' SetWorld( fw.main.world) Nicolas Quote
Canardia Posted July 21, 2010 Posted July 21, 2010 No, foreground. 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 ■
Icare Posted July 21, 2010 Author Posted July 21, 2010 foreground there isn't foreground layer in the framework only : Main background transparency Nicolas Quote
Canardia Posted July 21, 2010 Posted July 21, 2010 transparency is same as foreground. 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 ■
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.