Jump to content

Recommended Posts

Posted

Using non-beta everything was fine until I updated to beta version to resolve a publishing issue. Now when z-sort is enabled my materials don't react to light.

 

Something changed again. Ideas?

 

Pics attached. First is from non-beta when it was working fine. Second and third are beta with and without z-sort and the last two without and with z-sort.

post-12583-0-45585500-1436040345_thumb.jpg

post-12583-0-67357700-1436040368_thumb.jpg

post-12583-0-64446500-1436042443_thumb.jpg

post-12583-0-59035600-1436042464_thumb.jpg

post-12583-0-89682000-1436042486_thumb.jpg

---

Scott

 

Using Windows 7 Ultimate 64 bit/Core I7-2700K @ 4312mhz/24G RAM/Nvidia GTX 1060

Posted

If z-sorting is enabled the object is rendered after the lighting pass.

 

There is a transparency shader that discards every other pixel. It's a good way to do transparency with lighting intact.

Let's build cool stuff and have fun. :)

Posted

Don't want transparency. Basically, I need non-transparent cubes to not disappear and reappear when looking around. :) Still curious to know why it was fine in the non-beta version...

  • Upvote 1

---

Scott

 

Using Windows 7 Ultimate 64 bit/Core I7-2700K @ 4312mhz/24G RAM/Nvidia GTX 1060

Posted

I don't believe any recent changes have been made that would affect this. Why would you want z-sorting to be enabled if they aren't transparent?

Let's build cool stuff and have fun. :)

Posted

It worked properly in the non-beta without z-sort, but now zsort keeps them from disappearing at least.

---

Scott

 

Using Windows 7 Ultimate 64 bit/Core I7-2700K @ 4312mhz/24G RAM/Nvidia GTX 1060

Posted

Was playing with Shadmar's day/night cycle. Switching between z-sort and not.

Z-sort needs to be disabled for the muzzleflash issue. dry.png So the issue is not z-sort, but without it.

I like pink but lol

 

edit: blocks are no longer disappearing. Went back to non-beta but the above issue still exists.

post-12583-0-97351400-1436122999_thumb.jpg

post-12583-0-35900000-1436123012_thumb.jpg

---

Scott

 

Using Windows 7 Ultimate 64 bit/Core I7-2700K @ 4312mhz/24G RAM/Nvidia GTX 1060

Posted

Your project does not contain the cube model so I wasn't able to test it.

 

If you had more than 256 instances of this model, it is possible a bug in the instanced rendering could have caused individual instances to disappear as you describe. This will be fixed in the next beta build.

  • Upvote 2

Let's build cool stuff and have fun. :)

Posted

Early on I tested 15000 cubes @ 45fps :)

---

Scott

 

Using Windows 7 Ultimate 64 bit/Core I7-2700K @ 4312mhz/24G RAM/Nvidia GTX 1060

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...