On Tuesday 10 January 2012 08:07:08 James Turner wrote:
> Hello,
>
> Since it appears I (and presumably others) have a limit of 8 texture units
> on my GPU, I am planning to edit the effect files to either remove the
> noise texture (if it's unused by the underlying shader, which is the case
> in several due to copy+paste), or move it down to an unused slot. I *think*
> the noise shader is the only one residing at an index above 7, in the all
> the existing Effect files.
>
> In the uber-shader, the only available texture unit below 8 is unit 1 -
> thanks to Fred for pointing this out. There's no deliberate reason for
> leaving this index empty, is there?
>
> Comments, or advice?
>
> James
It was left empty for an eventual shadow-map, but now that things are going in
a different direction with the Rembrandt project, I don't think it will be
needed. Ibelieve in all effects unit 1 is available, so you could move noise
there in all of them, for consistency's sake.
------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create
new or port existing apps to sell to consumers worldwide. Explore the
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel