Horde3D

Next-Generation Graphics Engine
It is currently 29.03.2024, 15:22

All times are UTC + 1 hour




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 09.04.2011, 13:43 
Offline

Joined: 27.03.2011, 08:40
Posts: 47
Location: Fi
When I render my scene without any lights, it's quite reddish, and not so dark I like it to be.
But, how to control/change ambient color?

Second question:
Is there geometry batching or instancing?


Last edited by mikel on 28.01.2014, 11:15, edited 1 time in total.

Top
 Profile  
Reply with quote  
PostPosted: 10.04.2011, 22:06 
Offline
Engine Developer

Joined: 10.09.2006, 15:52
Posts: 1217
mikel wrote:
But, how to control/change ambient color?

If you don't have much graphics programming experience yet, the easiest way is to really exchange the ambient cube map. HDRShop (version 1 is free for non-commercial use) with its diffuse convolution and CubeMapGen are very useful there. It is possible to implement a completely different ambient model but that requires shader and in some cases pipeline changes. Horde is a generic renderer, it does not dictate which rendering techniques should be used and the cube map based ambient in the demos is just provided as a sample implementation.

mikel wrote:
Second question

Horde can sort meshes by materials to minimize state changes. It does not use instancing at the moment as draw calls are usually faster in GL than in d3d9, so the benefit for GL would be less. Anyway, even with all engine optimizations, draw calls have a considerable performance overhead, both on the CPU and GPU side. So if you can somehow merge several of your tiny objects into single meshes, you will definitely get a performance benefit if you have a lot of them.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 63 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group