Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
191 user(s) are online (178 user(s) are browsing Forums)

Members: 0
Guests: 191

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 )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project