Jump to content

View more

Image of the Day

The night is still, but the invasion brings chaos. #screenshotsaturday #hanako #indiegame #gameart #ue4 #samurai https://t.co/cgILXuokoS
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

batch draw!

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • This topic is locked This topic is locked
2 replies to this topic

#1 AlanWu   Members   

241
Like
0Likes
Like

Posted 09 December 2012 - 04:07 PM

We know put all the vertices together and call drawXXX() can draw all the triangles.
But if each triangles have different ,what should i do?DX9 doesn't has texture array.
And if we use pixel shader ,i know use pixel shader can sample texture.But pixel shader 2.0 only has 16 sampler.
I think it is use for multiple texture.But how to pass texture into pixel shader?Could anybody give me a example or a idea?
Thank you!

#2 MaxDZ8   Members   

5008
Like
0Likes
Like

Posted 10 December 2012 - 01:55 AM

For P.S. 2 we're pretty much screwed.
Running out of resources is really easy (especially instruction count) and with no real branching the only thing we can do is to sample all textures... which is still not going to work on some old PS2 hardware.
My advice, from experience: give up. At least PS2_a or better, PS3.

In particular, PS3 hardware has a nice set of orthogonal features, especially in terms of HDR rendering.

I suggest to give up. Yes, that's it. That's a performance optimization not worth pursuing. Unless you have real data obtained by profiling tools.

Previously "Krohm"


#3 rip-off   Moderators   

10896
Like
0Likes
Like

Posted 10 December 2012 - 03:27 AM

Please do not cross post.




Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.