Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
122 user(s) are online (110 user(s) are browsing Forums)

Members: 0
Guests: 122

more...

Support us!

Headlines

 
  Register To Post  

Warp3D and fog
Just can't stay away
Just can't stay away


See User information
I'm trying to set the fog paramters in the WarpTest example, but all I get is the error "W3D_UNSUPPORTED".

The fog enabling code looks something like this:

W3D_Fog myFog = {
    
1.00.21.0,
    {
8.1/32.08.1/32.017.1/32.0}
};

...

//this returns W3D_SUCCESS:
res W3D_SetState(contextW3D_FOGGINGW3D_ENABLE);

//this returns W3D_UNSUPPORTED:
res W3D_SetFogParams(context, &myFogW3D_FOG_LINEAR);


What could be wrong here?

Go to top
Re: Warp3D and fog
Home away from home
Home away from home


See User information
@alfkil

Have a look at how MiniGL handles fog.

Hans

Join Kea Campus' Amiga Corner and support Amiga content creation
https://keasigmadelta.com/ - see more of my work
Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )



Polls
Running AmigaOS 4 on?
AmigaOne SE/XE or microA1
Pegasos2
X5000
X1000
A1222
Sam 440/460
Classic PowerPC Amiga
WinUAE emulation
Qemu emulation
Total Votes: 59
The poll will close at 2025/12/1 12:00
1 Comment


Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project