Real-time material preview?
Forum rules
Please upload a testscene that allows developers to reproduce the problem, and attach some images.
Please upload a testscene that allows developers to reproduce the problem, and attach some images.
-
- Posts: 3
- Joined: Fri Feb 07, 2020 6:53 pm
Real-time material preview?
New to LuxCoreRender, so please be gentle. Is the rendered material preview in the Material Properties tab of Blender the only way to see a preview of the material I'm editing? This makes minor adjustments fairly time-consuming. Am I just not ticking a box somewhere to be able to see the material in the Material Preview 3d viewport shading mode?
Re: Real-time material preview?
Can't you just enable view port rendering and see there any change you makeBobDotProduct wrote: ↑Fri Feb 07, 2020 7:00 pm New to LuxCoreRender, so please be gentle. Is the rendered material preview in the Material Properties tab of Blender the only way to see a preview of the material I'm editing? This makes minor adjustments fairly time-consuming. Am I just not ticking a box somewhere to be able to see the material in the Material Preview 3d viewport shading mode?
-
- Posts: 3
- Joined: Fri Feb 07, 2020 6:53 pm
Re: Real-time material preview?
Yes I can, but my question was specifically about working with textures. If I'm creating even a moderately complex procedural texture, I'll be working on multiple small parts, making lots of changes repeatedly. Waiting for the noise to render away enough so that I can see what effect my changes had on my texture is very slow. I'm honestly surprised no one has brought this up before. Creating textures in Cycles or Eevee gives you almost instantaneous feedback in the Material Preview shading mode.
Re: Real-time material preview?
I don't use Blender so I have only a vague idea of your problem and B.Y.O.B. is the one can help you but are you using OpenCL for preview ? Because OpenCL kernel compilation time may be the source of your problem ?BobDotProduct wrote: ↑Sun Feb 09, 2020 3:37 am Yes I can, but my question was specifically about working with textures. If I'm creating even a moderately complex procedural texture, I'll be working on multiple small parts, making lots of changes repeatedly. Waiting for the noise to render away enough so that I can see what effect my changes had on my texture is very slow. I'm honestly surprised no one has brought this up before. Creating textures in Cycles or Eevee gives you almost instantaneous feedback in the Material Preview shading mode.
Re: Real-time material preview?
When you switch to Luxcore in Blender, material preview mode is not working at all. You can use only render preview witch is heavy. I am also hoping that will be changed asap.
WIndows 11 Pro Ryzen 7 5700x RTX 3090 32 GB RAM
Re: Real-time material preview?
Blender's "Material" shading mode is a simple OpenGL rendering of the scene with GLSL material shaders, mostly for texture preview (imagemaps and procedural textures are supported, as well as all Eevee and Cycles shader nodes).
Unfortunately Blender offers no API for external renderengines to supply their own GLSL code per node for such a material preview.
See https://devtalk.blender.org/t/lookdev-f ... gines/7722
We could implement a special OpenGL renderengine in Luxcore to circumvent this, but it would require quite some work and would add another level of code duplication (in addition to C++ and OpenCL shader code, we would also have GLSL shader code). So I doubt this will happen anytime soon.
Re: Real-time material preview?
By the way its working partialy for image textures when you setup cycles material first. Then you can see textures in this mode also in Luxcore if you add the same image map to Luxcore material.
WIndows 11 Pro Ryzen 7 5700x RTX 3090 32 GB RAM
Re: Real-time material preview?
Cycles/Eevee nodes are used when entering material preview, even when the engine is LuxCore.
If you only need simple node setups, you can try to enable "use cycles nodes" in the material and work with Cycles nodes.
-
- Posts: 3
- Joined: Fri Feb 07, 2020 6:53 pm
Re: Real-time material preview?
Thanks for the replies. It's unfortunate but I'll figure something out. LuxCore renders are too beautiful to let something like this keep me from using it.