About Store Forum Documentation Contact
Donations:
158$/mo



Post Reply 
Renderer.type(RT_SIMPLE)
Author Message
aceio76 Offline
Silver Supporter

Post: #1
Renderer.type(RT_SIMPLE)
Does it support drawAmbient() and drawSolid() render passes?
06-11-2014 09:23 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: Renderer.type(RT_SIMPLE)
Hi,

draw ambient is only reserved for RT_DEFERRED for the light render target.
please avoid drawSolid, the recommended way is to draw meshes in RM_PREPARE mode (drawPrepare)
06-12-2014 12:19 AM
Find all posts by this user Quote this message in a reply
aceio76 Offline
Silver Supporter

Post: #3
RE: Renderer.type(RT_SIMPLE)
I was looking at ElectricityFx. I guess that's not possible on this mode.

Thanks for clarifying.
06-12-2014 12:23 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #4
RE: Renderer.type(RT_SIMPLE)
Hi, The electricity will work ok in RT_SIMPLE - just tested this, yes you can use drawSolid for that.
RM_AMBIENT is not needed for it when using RT_SIMPLE.
06-12-2014 12:32 AM
Find all posts by this user Quote this message in a reply
aceio76 Offline
Silver Supporter

Post: #5
RE: Renderer.type(RT_SIMPLE)
Awesome! I will test it on a couple of mobile devices as well.
06-12-2014 12:33 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply