Multi-Texturing Issues
We are experimenting with Vizard 4 Trial Version. We are implementing Advanced Shaders. While Implementing them we are facing problems. For shaders we need to map multiple textures & cubemaps over the object. Vizard only permits 4 textures/Cubemaps. We can apply those textures on units (layers) 0, 1,2 & 3; but not on units 4,5,6 etc. Are these issues because of trial version? If Vizard only permits 4 textures then how to apply more than 4 textures?
|
The Trial version of Vizard does not impose any limitations on the number of textures you can apply to an object. What kind of graphics card do you have? Are you using a fragment shader to blend the multiple textures? I know most nVidia drivers only support 4 texture units when using the fixed function pipeline to combine the textures. However, depending on the driver, a lot more units are supported when using a fragment shader to combine the textures.
Run the following script. The first number it prints out will be the maximum number of fixed function texture units supported by your driver. The second number will be the maximum number of fragment shader texture units supported. Code:
import viz |
I am using this method to apply textures & shader
Code:
import viz Thanks !! |
for
Code:
import viz ************************************************** ********** 4 32 ** Load Time: 0.18 seconds |
1 Attachment(s)
Your driver should support up to 32 textures when using a fragment shader. Try running the following script:
Code:
import viz |
All times are GMT -7. The time now is 07:30 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC