In relation to the ‘basicLightactIntegration’ and UE4, when I open up this map in UE4 and run the LA project, BasicLightactIntegration313, I find that: the cube is rotating that is determined by LA, this is fine, the texture set by LA is fine, the material set by LA is not showing on the middle display in UE4.
Please, could you tell me why this should be?
Hmm, that’s weird. One thought is that the shaders might not be compiled yet, but I can’t be certain at this point.
Using Texture setting instead of Material is a better and more versatile way anyway, but may I ask which UE and which versions of our plugins you are using?
If you open Level blueprint, the nodes that set the material are here:
It states ‘None’ probably because you stopped it at first frame. You need to leave it running for a second or two and only then insert a breakpoint.
Also, if you zoom into the plane you’ll probably see it’s not just grey, but that it has a standard UE4 grid, which tells you the material is not yet built.
This means you need to force UE4 to build the Spout Material. As it is created inside Spout plugin the procedure is explained in the following video.
In short, the procedure is as follows:
Play the project
Select the SpoutDisplayPlane plane static mesh
Open the material instance that’s shown in its Element 0 material property
Open SpoutMaterial parent material
Apply it to one of the static meshes in the scene - for example, SpoutDisplayPlane.
Make sure it shows correctly. If it doesn’t, you probably have to change something in the material, for example, add a new node or move one of the nodes a bit, and hit Apply and then Save. This will force UE4 to recompile the material.
If you press play now, the material on SpoutDisplayPlane plane static mesh should be set correctly.
After that, you can set the material of the static mesh to which you’ve applied SpoutMaterial back to what’s been set before.
But anyway, using SpoutMaterial directly, shouldn’t be considered as the best route as it doesn’t allow you any additional options. Any advanced visualizations are using the Texture approach.