Custom Sprite shader

   1566   1   1
User Avatar
Member
402 posts
Joined: April 2017
Offline
I'm running into an interesting Redshift bug where a network will fail to render if SOP-level instancing is enabled *and* there is a Sprite SOP literally anywhere in the network upstream of the pack operation, even if the node is disabled or on the other end of a Switch SOP.

I'm really only using this Sprite SOP for previewing point attributes. If I create my own `spriteshop`, `spritescale` and `spriteuv` attributes, the network will render normally, but no matter what I do in the material, I can't get anything but black squares to display in the viewport. I've tried the usual OpenGL tags (ogl_tex1, ogl_use_tex1) on my maps and it's not doing anything. The entire shader network is dead simple; I'm not sure what else I need to add to get sprites visible in the viewport. This is in Houdini 18.5.570, so any weird sprite rendering bugs should be resolved.

Attaching an image of my material network.

Attachments:
Screenshot 2021-06-12 105721.png (183.2 KB)

MOPs (Motion Operators for Houdini): http://www.motionoperators.com [www.motionoperators.com]
User Avatar
Member
95 posts
Joined: Feb. 2020
Offline
Were you ever able to get this to work?

Can't get the sprite node in a POP network to work or the SOP level one either.

Looks like this for me in 19.5:

Attachments:
spriteissue.png (520.2 KB)

  • Quick Links