Posts by mjkrol

by mjkrol
01.09.2006, 16:58
Forum: Bugs
Topic: celestia generates illegal glsl shader
Replies: 5
Views: 4872

Re: celestia generates illegal glsl shader

So we agree that the same rule applies to const globals and globals witthout qualifiers, right? Then the section 4.3.2 of GLSL 1.1 spec clarifies it: Initializers for const declarations must be formed from literal values, other const variables (not including function call paramaters), or expressions...
by mjkrol
01.09.2006, 15:35
Forum: Bugs
Topic: celestia generates illegal glsl shader
Replies: 5
Views: 4872

Re: celestia generates illegal glsl shader

The problem is detailed (with shader listing) on the bugzilla page - pointed by mczak. It says also how to solve it. You just have to fix the src/celengine/shadermanager.cpp. It occurs in several places, but each of those faulty shaders are generated by one function, so it is not so difficult to cor...

Go to advanced search