YouGroove Posted February 18, 2014 Share Posted February 18, 2014 I got simply Leadwerks 3.1 with last updates. So i have a post effect panel now for the Root of the scene. I have several post effects to choose from and also Bloom, i think this is the official post effects of LE3 , or am i wrong ? Anyone has Bloom effect visible ? when just selecting it ? All others effects are visible when i choose them, but Bloom do nothing ? Quote Stop toying and make games Link to comment Share on other sites More sharing options...
shadmar Posted February 18, 2014 Share Posted February 18, 2014 Type bloom.lua do not select bloom.shader Quote HP Omen - 16GB - i7 - Nvidia GTX 1060 6GB Link to comment Share on other sites More sharing options...
DudeAwesome Posted February 19, 2014 Share Posted February 19, 2014 you have to activate Post Effects for your Camera. Set the value to true Quote It doesn´t work... why? mhmmm It works... why? Link to comment Share on other sites More sharing options...
YouGroove Posted February 19, 2014 Author Share Posted February 19, 2014 @DudeAwesome : Thanks , it worked, yes i had to activate it by one Lua line of code script attached to a Camera, and i was wrong as Bloom seems to not be included in standard Setam Leadwerks 3.1 download, only on workshop for regular Steam Leadwerks 3.1 users. Quote Stop toying and make games Link to comment Share on other sites More sharing options...
klepto2 Posted February 19, 2014 Share Posted February 19, 2014 Most posteffects will only be available through the current "Workshop" or later through the real steam workshop. Currently only pure "*.shader" posteffects are supported via the in Editor option. Some advanced effects will need multiple passes. Bloom for instance needs blurred and downsampled buffers which are prepared in the lua script. So while it may work with the in editor settings there might be issues which will be only resolved when lua posteffects are officially supported in the editor. Quote Windows 10 Pro 64-Bit-Version NVIDIA Geforce 1080 TI Link to comment Share on other sites More sharing options...
SlipperyBrick Posted March 1, 2014 Share Posted March 1, 2014 I have a camera set up in my map and I have attached the bloom.lua script to the camera and I have added the bloom.shader in the root panel in the 'Scene' tab and whenever I run my game I get an error saying 'attempt to index local buffer (a nil value). The line of code where the error is coming from is 'local w=buffer:GetWidth()' Am I missing something Quote Link to comment Share on other sites More sharing options...
shadmar Posted March 1, 2014 Share Posted March 1, 2014 Yes, it only works if you add bloom.lua to th root panel in the 'Scene' tab or use it as an camera effect camera:AddPostEffect("/path/to/bloom.lua") Quote HP Omen - 16GB - i7 - Nvidia GTX 1060 6GB 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.