From: Bruce S. <Bru...@nc...> - 2008-12-09 13:11:11
|
You will see shader errors and/or the inability to display materials such as wood if your graphics hardware does not support Pixel Shader 3.0. The key point is this statement in the Visual 5.0 help (see the "What's new" section or the "materials" section): Materials will work with graphics cards that support Pixel Shader 3.0 ("PS 3.0"). For details, see http://en.wikipedia.org/wiki/Pixel_shader#Hardware. Some materials may work with graphics cards that support PS 2.0, but other materials may need to be manually disabled; see instructions in the site-settings.py module in the Visual package in your site-packages folder. If the graphics hardware does not support pixel shaders, the material property is ignored. If you think you should be able to use materials but have trouble with their display or performance, we highly recommend upgrading your video card drivers to the latest version. Bruce Sherwood P.S. It will be of interest to hear from users about what hardware does and doesn't work with materials. Symion wrote: > running V5.0 > Ran the example program texture_and_lighting.py and it seemed to > work, but IDLE reported the following error. > > VPython WARNING: errors in shader program: > Fragment shader(s) failed to link, vertex shader(s) linked. ˜ > VPython WARNING: errors in shader program: > Fragment shader(s) failed to link, vertex shader(s) linked. r > VPython WARNING: errors in shader program: > Fragment shader(s) failed to link, vertex shader(s) linked. r > > Something similar happens when running material_test.py. > > Symion |