Here is a patch that adds support for native GLSL in the GrassLoader and BatchPage source. While Cg is convenient it is buggy on ATI cards. We plan to also convert the WindBatchPage shader at some point.
[attachment=0]NativeGLSLSupport.zip[/attachment]
-Fish
thanks for the nice patch
i have edited some minor things and merged it to the SVN HEAD.
also added a new method to disable shaders: PagedGeometry::setShadersEnabled / PagedGeometry::getShadersEnabled
also, please fix the indenting next time and incorporate 3rd party patches you used correctly if at all
one feature per patch is the best solution.
Thank you!
also, please fix the indenting next time and incorporate 3rd party patches you used correctly if at all
one feature per patch is the best solution.
There has been so many patches submitted and never merged into trunk that it becomes difficult to tell where one feature ends and the other begins.
And you're welcome.
-Fish
also, please fix the indenting next time and incorporate 3rd party patches you used correctly if at all
one feature per patch is the best solution.
There has been so many patches submitted and never merged into trunk that it becomes difficult to tell where one feature ends and the other begins.
thanks! thats what im trying to fix, applying all missing feature patches
if you have more patches that needs merging, let me know.
Here is the WindBatch shader converted to native GLSL. (and it has the 'lovely' <tab> prefixes.
)
Posted here and to the tracker.
[attachment=0]WindBatchGLSL.rar[/attachment]
-Fish
Here is the WindBatch shader converted to native GLSL. (and it has the 'lovely' <tab> prefixes. )
Posted here and to the tracker.
[attachment=0]WindBatchGLSL.rar[/attachment]
-Fish
merged, thanks
its not that i prefer tabs, i just try to be most compatible to the current code.