- Forums
- Forum Help
- Search Forum
- Login
- Register
Truevision3D
>>
TV3D SDK
>>
TV3D SDK 6.5
>>
Shader Development
(Moderators:
Waterman
,
Mithrandir_
,
beyonder
,
ZaPPZion
) >>
duplicate shader?
Pages: [
1
]
« previous
next »
Print
Author
Topic: duplicate shader? (Read 1156 times)
tedlin01
Customers
Community Member
Posts: 140
duplicate shader?
«
on:
October 19, 2009, 06:50:58 AM »
Is there someway to duplicate shaders?
I have like 300 meshes and I need one shader each since I want to change the materialsettings during runtime. Eventually if there is some other way I can set the material with some sematic or something it would be appriciated.
Logged
CAUSE OF WAR:
http://causeofwar.se
Portfolio:
http://tedlindstrom.se
tedlin01
Customers
Community Member
Posts: 140
Re: duplicate shader?
«
Reply #1 on:
October 19, 2009, 08:39:57 AM »
http://wiki.truevision3d.com/semantics
Logged
CAUSE OF WAR:
http://causeofwar.se
Portfolio:
http://tedlindstrom.se
sybixsus
Customers
Community Member
Posts: 1339
Re: duplicate shader?
«
Reply #2 on:
October 19, 2009, 01:59:16 PM »
Yes, definitely do
not
create 300 shaders. Your framerate will go through the floor with all those expensive state changes. Binding a shader is one of the most expensive state changes too.
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Truevision3D Official Information
-----------------------------
=> News and Announcements
=> Development Information
-----------------------------
TV3D SDK
-----------------------------
=> TV3D SDK 6.3
===> Bugs
=> TV3D SDK 6.5
===> Bugs
===> Content Pipeline
===> Shader Development
-----------------------------
Projects
-----------------------------
=> Announcements
=> In-Development
=> Showcase
=> Recruitment
-----------------------------
Game Development
-----------------------------
=> Engine Comparison
=> Game Development
=> Companion Tools
=> Design and Theory
Powered by SMF 1.1.3
|
SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks