Even the most basic custom unit shaders are very expensive
Moderator: Moderators
Re: Even the most basic custom unit shaders are very expensive
Where should I specify the simframe location in my shader definitions?
Re: Even the most basic custom unit shaders are very expensive
You want to add it in the framework here:
http://imolarpg.dyndns.org/trac/balates ... s.lua#L181
and here:
http://imolarpg.dyndns.org/trac/balates ... s.lua#L200
and it will be automatically loaded if your shader contains the uniform with that name.
http://imolarpg.dyndns.org/trac/balates ... s.lua#L181
and here:
http://imolarpg.dyndns.org/trac/balates ... s.lua#L200
and it will be automatically loaded if your shader contains the uniform with that name.
Re: Even the most basic custom unit shaders are very expensive
attached a sample of how to use simFrame on wobbling trees,
sorry for the whitespace changes
sorry for the whitespace changes
- Attachments
-
- patch.diff
- (6.43 KiB) Downloaded 16 times