Discussion in 'Works In Progress' started by Marrrk, Sep 4, 2013.
Definitely getting this; looks well worth the price.
Triple kudos to your team.
Just picked this up yesterday, but was sad to see that black hole effect (mostly the reason I bought the package for) wasn't included in the samples. Can you provide a bit of guidance on how I can recreate this? The included PDF doesn't go into a lot of detail.
the black hoole effect bases upon the Distortion shader, just add a Normalmap generated from a texture similar to this:
After that you need to create a material with the Distortion shader, add the normalmap to the distortion texture slot and a mask (the one linked above, will do) to the mask slot. Put the shader on a billboard and set the layer of the GameObject to a layer which is visible for ALL working cameras (normally you want to use a layer which is invisible to the FXCameras FXTexture components). Setting the layer to this ensures that the feedback effect will work.
I can add this as a base sample to the next version.
Can't seem to get the glass demo to be transparent like your crystal demo. Can you include the demo samples setup.
Sorry, I cant, the Ruins demo sample uses content from turbosquid, which I am not allowed to redistribute legally. But I can help you of course with the setup. Can you show me how it looks for you, including the setup?
I don't need the ruins sample. You can use cubes to setup, that's fine. There's no transparency in the glass demo, unlike the crystals
Hi, there is a Glass sample scene provided in FXLab, did you look at it? You can also try to change the Fresnel value from the Material, which specifies how strong the refraction is vs the reflection. If you still can´t see anything, check whether the Material displays some hints/problems found.
Also check that your FXCamera is on the camera which will render your Glass or preceedes the camera which will render your glass. It is also possible that the FX Textures associated to the camera are not configured properly (camera used for this texture is not set, eg.)
Thanks for the help. I got something similar, but different up and working now. I think it'd be a big help to me and others if it was included in the future.
I will add additional samples in the next version (heathaze, blackhole and more post processing samples).
A quick development info to v1.1
Reworked the whole FXRenderTexture system, now it is possible to:
display separate FXRenderTextures (Preview)
change/set FXRenderTexture properties (Resolution Factor and whether the Texture will be generated from simple ScreenGrabs or not)
export FXRenderTextures as Assets, which then can be used as source for Materials
Grabbing of full resolution images (ScreenGrab) which was needed for some anti aliasing post process effect
Better help system which will display better tips and can automatically solve more problems
Ability to drag&drop FXRenderTextures onto FXTextures (the things which will fill these textures) and onto Materials
FXLab Materials will use a CustomMaterialEditor
FXRenderTexture assignments will be handled through a new component which will automatically added when using a FXLab material
Complete rewrite of all FXLab´s buildin shaders and cginc file
Allows settable FXRenderTextures
Added some post processing effects (more to come)
Currently it is my task to fix several bugs which where introduced through these changes, add a better memory handling and increase the usability of some elements (The CustomMaterialEditor for example).
More effects are also in the pipeline.
FXLab Version 1.1 has been submitted, it took a really long time to finish this up due to the many system rewrites needed to support the new features.
But now the max 4 FXTexture limitation is gone, along with the max 50% screen resolution for textures restriction. RenderTextures are now handleable assets and several new mechanics should make the work with FXLab easier.
I added a FX Capture Screen component which will simply capture the currently visible screen content after the camera is done rendering (before GUI), which can be placed before or after post processing effects and will not rerender the scene into a texture like the FXTextures do. The captured image is always equal sized to the screen size.
We now have a new FXTexture type (World Normals) for special effects in which these are needed.
You can now setup and look into the RenderTexture asset:
As you can see you can now group the textures along a priority and provide an Update Interval which increases the performance dramatically (33 milliseconds is enough to provide a very good ratio between quality and speed).
It is also possible to set a request size for the texture, a size which will never grow above this setting, which makes it possible to build something like RT GI texture atlases (something the Frostbite uses).
And I included some new shaders. But I left out the HeatHaze shader, which is nearly complete but not yet ready to be published (we will push it forward into a next release which will hopefully not take that long).
We also completely reworked the samples, so that it will contain the HeatHaze and BlackHole samples along with a nicer environment:
If the version has been accepted, we will report about it.
The next version will hopefully contain a working (or better: an easier to setup) SSAO effect and sample, along with a functional SSR effect sample.
This is the current first test version of the SSR (unoptimized, bug ridden, slow and still ugly):
If you have some requests regarding effects and functionality. tell us and we will look into this and maybe include it into one of the next versions.
I dont understand well, SSAO is in 1.1 ? Or it will be for 1.2 ? Or just improved in 1.2 ?
SSR is very very impressive !
I can suggest Shadow mapping ?
SSAO is present in 1.1 but not in a quality you want use (very hard to configure and produces results in some situations which are quite ugly). I plan to add a better version of it in one of the next versions.
Heat/Night Vision effects:
My partner develops a system to display the heat of the environment,usable for the lovely night vision effect. The effect uses a ramp texture to tint the pixels based upon the emitted heat, here are some early sample screenshots, along the used ramp texture:
The setup of the PP effect:
really great for a ghost hunter game
I´m very interested in your shockwave
But not for spherical shock, more for ground shock (like a monster is hitting the ground and a quake-shockwave is casted).
The shockwave effect can be applied on any mesh, the sphere mesh is only the most fitting for the shockwave. so you have the full control what should expand. A ring mesh would be possible too. Or simple particles which will spawn in ring formation.
The next version will contain the support for UnityPro native RenderTextures, which means:
If you will upgrade your project from Unity to UnityPro, FXLab will perform much faster by using the native RenderTextures instead of the emulated ones from FXLab. The remaining stuff from FXLab will function as usual: FXTextures, ScreenCapturing, PostProcessing, eg, only faster.
So you dont need to throw away everything you made with FXLab. It will still work, but better.
Also the thermal/night vision plugin will be added. Which now supports FLIR modes.
I'm really enjoying this fx pack, but since updating to the latest version of unity (and FxLab), I'm getting an annoying problem, with the blur effect. Everything which is blurred, is also darkened. This didn't happen until i updated, so any idea what's going on, what is wrong?
I've tried reimporting assets, reinstalling Unity, redone my camera setup (with scripts etc.), and nothing works, to get rid of the darkening of the blur.
EDIT: I figured out what the problem was; Unity had somehow without me noticing it switched from Gamma to Linear light. I switched it back, and it works a treat again. Awesome asset.
Can you provide some statistics to compare the performance of your FXLab with Unity Pro's "proper" render textures? All other things being equal, what's the performance difference (in time and/or FPS) when running a comparable post-processing shader on a render texture of the same size?
I'm definitely interested in purchasing but I would like to know more about the tradeoffs before I make a decision.
Hi - nice work
I am interesting "Comic/Cell shading post processing shader" when this shader will include in FXlab?
Underwater effect eats up Global Fog. Image effect.
how can i make water transparent with depth_reflection_refraction shader? i try to change some setting but nothing happen
Is there any tutorials on this on how to make the underwater cam work from land eg walk into water it activates i also cant find the working version of the island to use that
I would like to ask if all or some of the assets found in the demo scenes can be used for a commercial product, especially the crystals and some of the foliage.
Is the demo scene from the webplayer available as well ?
Also i am using this in Unity free and i cant get refraction when i enable depth, am i doing something wrong ? (speaking about hte water sample scene, i enable depth in the water and the refraction seems to be gone)
EDIT: I noticed the refraction is still there, but now depends on the angle, in some edges i dont see it like before, in others it still exists
EDIT2: Also i cant seem to be able to assign a material in the Decal shader
I'm trying to make a shockwave in my game, but as soon as i set the shader in the material i get errors for every parameter of the shockwave shader. I load the demo scene and the same problem there. So i have a pink sphere. The other shaders works fine. Do you have any idea?
PD: as soon as i can i'll post the exact error message, but is something like the parameter strength is missing. And the same for each one.
EDIT: SOLVED! Reinstalling the package solved the problem. Thanks!
Does anyone experience problems (compile errors) when also Decal System from Edelweiss Interactive is installed ?
ReflectionTypeLoadException: The classes in the module cannot be loaded.
System.Reflection.Assembly.GetExportedTypes () (at /Users/builduser/buildslave/monoAndRuntimeClassLibs/build/mcs/class/corlib/System.Reflection/Assembly.cs:376)
FXMaterialHelper.<get_FXTextureTypes>m__6 (System.Reflection.Assembly assembly) (at Assets/FXLab/Scripts/Editor/FXMaterialHelper.cs:35)
Or just me ?