- Forums
- Forum Help
- Search Forum
- Login
- Register
Truevision3D
>>
TV3D SDK
>>
TV3D SDK 6.5
>>
Shader Development
(Moderators:
Waterman
,
Mithrandir_
,
beyonder
,
ZaPPZion
) >>
Custom Shader Question
Pages: [
1
]
« previous
next »
Print
Author
Topic: Custom Shader Question (Read 1486 times)
serial
Customers
Community Member
Posts: 380
Custom Shader Question
«
on:
December 03, 2007, 03:35:42 PM »
This is kind of obvious but I thought I would ask anyways.
If I'm using a custom shader do I need to instantiate a shader for
every model that wants to use it?
Logged
newborn
Customers
Community Member
Posts: 2451
Re: Custom Shader Question
«
Reply #1 on:
December 03, 2007, 05:53:07 PM »
one shader for multiple models, yes, its possible
edit: you do not need to instantiate your shader, just apply it to your model
edit 2: my 2000th post! whohoo!
«
Last Edit: December 03, 2007, 06:18:49 PM by newborn
»
Logged
TecnoBacon
Customers
Community Member
Posts: 305
Re: Custom Shader Question
«
Reply #2 on:
December 04, 2007, 01:38:54 PM »
Sugestion,
keep a shader array with the TV index assigned when you load it and the number of objects that are using it. this way you can easily share a shader as well as not removing it until all objects have stopped using it.
Eric, CEO TecnoBacon
Logged
www.TecnoBacon.com
- the other side of the Bacon family! 3D Development, Music and more.
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Truevision3D Official Information
-----------------------------
=> Development Information
-----------------------------
TV3D SDK
-----------------------------
=> TV3D SDK 6.3
===> Bugs
-----------------------------
Game Development
-----------------------------
=> Game Development
-----------------------------
Projects
-----------------------------
=> In-Development
=> Showcase
=> Recruitment
=> Announcements
-----------------------------
Truevision3D Official Information
-----------------------------
=> News and Announcements
-----------------------------
TV3D SDK
-----------------------------
=> TV3D SDK 6.5
-----------------------------
Game Development
-----------------------------
=> Engine Comparison
-----------------------------
TV3D SDK
-----------------------------
===> Shader Development
===> Content Pipeline
===> Bugs
-----------------------------
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