Caelum only works with Cg shaders
Bug #368401 reported by
Erik Ogenvik
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ember |
Fix Committed
|
Low
|
Erik Ogenvik |
Bug Description
Both the foliage (PagedGeometry) and sky (Caelum) system only works with Cg-shaders. Which means that the foliage is disabled, and the sky isn't as good looking as it could be when running it on a system without support. Since we like FOSS and want our client distributed on many distros, and Cg isn't FOSS (how nice would it be if it had been?) we need to provide GLSL fallbacks. One possibility is just to run it through Cg with a GLSL backend and save the shader.
Changed in ember: | |
importance: | Undecided → Low |
status: | New → Confirmed |
tags: | added: caelum |
tags: | added: shaders |
Changed in ember: | |
assignee: | nobody → Erik Ogenvik (erik-ogenvik) |
status: | Confirmed → Fix Committed |
To post a comment you must log in.
PagedGeometry makes its shaders in runtime. Nothing hard there, it could be rewritten with #ifdefs. But it may require modifying the grass loader even more. May be make custom grass loader (with different class name) to simplify the updating?
P.S. As a thought: we can still support DirectX by compiling GLSL shaders with Cg (-oglsl option). Not sure about how it will work through.