How to render back faces?

General help for the PSY-Q SDK, such as setting the SDK up, compiling correctly, linking and debugging
Post Reply
Gecko
What is PSXDEV?
What is PSXDEV?
Posts: 4
Joined: Jan 11, 2016

How to render back faces?

Post by Gecko » August 2nd, 2017, 9:14 pm

Can't figure out how to disable back face culling for GsDOBJ2. The following doesn't work for me:

[C]obj.attribute |= GsNBACKC;[/C]

Also tried setting bit 1 for 'flag' field in MAT file, again no luck. Am I missing something?

User avatar
LameGuy64
Verified
Psy-Q Enthusiast
Psy-Q Enthusiast
Posts: 388
Joined: Apr 10, 2013
I am a: Hobbyist Game Developer
Motto: Commercial or not, play it!
PlayStation Model: H2000/7000
Location: Philippines
Contact:

Post by LameGuy64 » August 2nd, 2017, 9:51 pm

I'm not sure if I remember it correctly (haven't used libgs and TMD files in a long while, I use my own 3D renderers) but I kinda recall some of the TMD rendering functions would outright ignore backface culling parameters. Not sure which ones exactly though but you can try searching through the library documentation.
Please don't forget to include my name if you share my work around. Credit where it is due.

Dev. Console: SCPH-7000 with SCPH-7501 ROM, MM3, PAL color fix, Direct AV ports, DB-9 port for Serial I/O, and a Xplorer FX with Caetla 0.35.

DTL-H2000 PC: Dell Optiplex GX110, Windows 98SE & Windows XP, Pentium III 933MHz, 384MB SDRAM, ATI Radeon 7000 VE 64MB, Soundblaster Audigy, 40GB Seagate HDD, Hitachi Lite-on CD-RW Drive, ZIP 250 and 3.5" Floppy.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests